... oh, and
null, which are ... slightly odd. And
Array, which is a special kind of object. And
RegExp, which are objects that you get for free. And to be technically accurate, functions are just a special type of object. So the type diagram looks more like this:
And there are some built-in
Error types as well. Things are a lot easier if we stick with the first diagram, however, so we'll discuss the types listed there for now.