number (primitive)
- number literals can be written with or without the decimal point
- small or large number literals can be written in pseudo-scientific form
- number can go from 0 to ±1.79769e+308. € 5e-324 is the smallest infinitessimal you can get, anything smaller is rounded to 0.
- number literals can be written in,
- base 10 (digits 0-9, no leading 0)
- base 8 (digits 0-7, leading 0)
- base 16 (digits 0-9,A-Z, leading 0x)
- Conversions
- Arithmetic Operators
Exercise
Types. JavaScript offers users six possible data types to work with: 5 primitive types and 1 object type.
- undefined
- null
- boolean
- number
- string
Exercises
Input/Output Options.
Input
Output