The availability of types very much depends on the control and operation in use. See the introduction to the basic concepts for more.
A sequence of characters used to represent text.
A sequence of bytes consisting of eight bits (0 or 1) each.
63 69 70 68 65 72 65 64 69 74 6f 72 (hex representation)
A floating-point number or a very large/small integer number.
isNaN evaluate to
false. The latter rely on the IEEE 754 double-precision 64-bit floating point format.
Note that the precision of this data format is limited and thus floating point numbers and integers may be rounded to the nearest representable number. See Why don’t my numbers add up? to go down this rabbit hole.
A signed integer value between and (exclusive).
Number.isSafeInteger evaluates to
true. Safe integers can be exactly represented in memory without losing precision.
A logical data type that can have only the values