What are JavaScript core objects?

Core objects are basic, built-in objects, that other, more complex, objects consist of in JavaScript.

These include:

  • Number
  • String
  • Symbol
  • Boolean
  • Function
  • Object
  • Array
  • Date
  • RegExp
  • Error

There are also other, built-in, non-core objects, such as:

  • HTMLElement
  • URLSearchParams
  • MouseEvent

They are part of the browser API. This means, that they do not exist in non-browser JavaScript runtimes, such as Node.js. Thus they are not core objects, since core objects must exist in every JavaScript runtime.