MDN says there are nine data types in latest JS spec. I wondering if these are the only nine data types that the spec allows programmers to use.
Just to clarify, I think programmer-defined functions/constructors internally using prototypical inheritance are still Objects, so do not qualify as new data types.
doubleorlongor anything else. The data types you have are all there is. The only way to get new ones is to 1. write a proposal for a new one and get it approved 2. write your own interpreter and engine that does whatever you want.[[call]]internal property. I was just curious if it is possible to create new data types.