Saved Bookmarks
| 1. |
Write down the various data types used in JavaScript. |
|
Answer» 1. Number: Any number(whole or fractional) with or without sign. Eg: +1977,-38.0003,-100, 3.14157,etc 2. String: It is a combination of characters enclosed within double quotes. Eg: “BVM”, “[email protected]”, etc 3. Boolean: We can use either true or false. lt is case sensitive. That means can’t use TRUE OR FALSE |
|