Variables
Declaration
To declare a variable, we have a var keyword.
Everything is local
To make variables be more explicit, undefined variables lead to syntax error. You must declare your variables before use them.
Last updated
Was this helpful?