aScript reference

The JavaScript reference serves as a repository of facts about the JavaScript
language. The entire language is described here in detail. As you write
JavaScript code, you'll refer to these pages often (thus the title "JavaScript
reference").

The JavaScript language is intended to be used within some larger environment,
be it a browser, server-side scripts, or similar. For the most part, this
reference attempts to be environment-agnostic and does not target a web
browser environment.

If you are new to JavaScript, start with the [ guide ](/en-
US/docs/Web/JavaScript/Guide) . Once you have a firm grasp of the
fundamentals, you can use the reference to get more details on individual
objects and language constructs.

##  Built-ins

[ JavaScript standard built-in objects ](/en-
US/docs/Web/JavaScript/Reference/Global_Objects) , along with their methods
and properties.

###  Value properties

  * [ ` globalThis ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis)
  * [ ` Infinity ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity)
  * [ ` NaN ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN)
  * [ ` undefined ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined)

###  Function properties

  * [ ` eval() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval)
  * [ ` isFinite() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/isFinite)
  * [ ` isNaN() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/isNaN)
  * [ ` parseFloat() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat)
  * [ ` parseInt() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt)
  * [ ` decodeURI() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURI)
  * [ ` decodeURIComponent() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent)
  * [ ` encodeURI() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI)
  * [ ` encodeURIComponent() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent)
  * [ ` escape() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape) Deprecated 
  * [ ` unescape() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape) Deprecated 

###  Fundamental objects

  * [ ` Object ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)
  * [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
  * [ ` Boolean ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)
  * [ ` Symbol ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)

###  Error objects

  * [ ` Error ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error)
  * [ ` AggregateError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError)
  * [ ` EvalError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError)
  * [ ` RangeError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError)
  * [ ` ReferenceError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError)
  * [ ` SyntaxError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError)
  * [ ` TypeError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError)
  * [ ` URIError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError)
  * [ ` InternalError ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError) Non-standard 

###  Numbers and dates

  * [ ` Number ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)
  * [ ` BigInt ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt)
  * [ ` Math ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math)
  * [ ` Date ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)

###  Text processing

  * [ ` String ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)
  * [ ` RegExp ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)

###  Indexed collections

  * [ ` Array ` ](/en-