123 - Variable-1

Run Settings
LanguageJavaScript
Language Version
Run Command
var firstName = "Harry"; console.log(firstName); firstName = "Ron"; console.log(firstName); /* output: Harry Ron */ x = 100; var x; console.log(x); /* output: 100 */ y = 100; let y; console.log(y); /* ReferenceError: z is not defined */ const z = 100; console.log(z); z = 200; console.log(z) /* TypeError: Assignment to constant variable. */
Editor Settings
Theme
Key bindings
Full width
Lines