Updated Introduction to Editor Scripting.md (markdown)
commited
commit
5fc8b834e1b64a8c5551e5011873c847f232d746
... | ... | @@ -9,7 +9,9 @@ Editor script uses JS (JavaScript), also not to be confused with Java which is a |
9 | 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: |
10 | 10 | |
11 | 11 | • `var` - commonly used variable, is global and can be called anywhere after declaration |
12 | ||
12 | 13 | • `const` - is a variable that represents a constant value, usually declared before everything |
14 | ||
13 | 15 | • `let` - is a variable that represents a local variable, its value only persist inside the codeblock `{}`` where it is located |
14 | 16 | |
15 | 17 |