Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JavaScript Algorithms and Data Structures
- Basic JavaScript
- Initializing Variables with the Assignment Operator
- It is common to initialize a variable to an initial value in the same line as it is declared.
- var myVar = 0;
- Creates a new variable called myVar and assigns it an initial value of 0.
- Define a variable a with var and initialize it to a value of 9.
- for more:https://ouo.io/Qqo06p3
Add Comment
Please, Sign In to add comment