Syntax
Variables
Section titled “Variables”var name = "Alice";var age = 25;var flag = true;var none = null;Constants
Section titled “Constants”const PI = 3.14159;Comments
Section titled “Comments”Semicolons — optional
Section titled “Semicolons — optional”var a = 1var b = 2print(a + b)Strings
Section titled “Strings”Single or double quotes. Escapes: \n, \t, \\
Truthiness
Section titled “Truthiness”Falsy: null, false, 0, ""