JavaScript offers eight basic data types:
To easily remember them, learn the mnemonic: NUNBBOSS, which stands for Null, Undefined, Number, Boolean, BigInt, Object, String, Symbol.
Now that we know there are eight data types, let's explore what these data types are used for: