Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables and Types
- We can define several types of variables to use in our code:
- var myNumber = 3; // a number
- var myString = "Hello, World!" // a string
- var myBoolean = true; // a boolean
- A few notes about variable types in JavaScript:
- In JavaScript, the Number type can be both a floating point number and an integer.
- Boolean variables can only be equal to either true or false.
- FOR MORE:https://bit.ly/36COK94
Add Comment
Please, Sign In to add comment