I started reading a book, Javascript for Kids. In it the author states that there are three data types:
Check the following link
Six data types that are primitives:
1.Boolean
2.Null
3.Undefined
4.Number
5.String
6.Symbol (new in ECMAScript 6)
and Object