DEV Community

Discussion on: JavaScript Struggles - Part 5 | Data Types

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

A number of problems here:

  • NaN is not a data type (its type is actually Number)
  • You've omitted the following types:
    • Symbol
    • BigInt
    • Boolean
  • You haven't mentioned the Object type, although maybe you were just sticking to the primitive types.
Collapse
 
abdelrahman_dwedar profile image
‘Abdelraḥman Dwedar 👨🏻‍💻🇵🇸

Thanks for noticing me for that issues I'll fix them.

I totally forgot to add the boolean & symbol.
And I'll add the BigInt later as it needed more time to write about (and research).

But yes I were sticking to the primitive types in this article, as I'll add object in another one with the data structures.

Thanks for reminding me.