Login

Fancade Wiki

Updated Introduction to Editor Scripting.md (markdown)

... ...
@@ -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
Fancade Wiki