Advertisement
KodingKid

How to declare variables in Javascript

Mar 26th, 2021
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var x, y, z; //all variables
  2. x = 7; //variable x        
  3. y = 11; //variable y
  4. z = x + y; //variable z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement