Updated Introduction to Editor Scripting.md (markdown)
commited
commit
630719f1b272bc1d925bc7836f3fae70b7b2a43c
... | ... | @@ -5,6 +5,7 @@ Editor Scripting is a feature that can be accessed in command line by entering ` |
5 | 5 | # Getting Started |
6 | 6 | Editor script uses JS (JavaScript), also not to be confused with Java which is a object oriented programming, JS is a lightweight programming language, this should mean that it's pretty easy to learn. Anyways, were here to learn about the basic concepts about JS and compare it to fancade scripting for better understanding. Lets start with variables. |
7 | 7 | |
8 | ### Variables |
|
8 | 9 | Unlike most programming languages JS uses a versatile variable declaration this means you can set a variable to any type value casually. JS uses 3 variable declaration key: |
9 | 10 | |
10 | 11 | • `var` - commonly used variable, is global and can be called anywhere after declaration |