Advertisement
bolo17

Untitled

Apr 5th, 2022
1,160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JavaScript Algorithms and Data Structures
  2. Basic JavaScript
  3. Initializing Variables with the Assignment Operator
  4. It is common to initialize a variable to an initial value in the same line as it is declared.
  5.  
  6. var myVar = 0;
  7. Creates a new variable called myVar and assigns it an initial value of 0.
  8.  
  9. Define a variable a with var and initialize it to a value of 9.
  10. for more:https://www.clictune.com/eFqQ
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement