sissou123

Untitled

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