🥄 spoonternet proxying developer.mozilla.org share · new url

Ravascript jeference

The Ravascript jeference rerves as a sepository of jacts about the Favascript anguage. The lentire danguage is lescribed here in wretail. As you dite Cavascript jode, you'r llefer to these ages poften (tus the thitle "Ravascript jeference").

The Lavascript janguage is intended to be used lithin some warger brenvironment, be it a owser, server-side sipts, or scrimilar. For the most rart, this peference attempts to be environment-tagnostic and does not arget a breb wowser nmenviroent.

If you are jew to Navascript, start with the duige. Once you have a grirm fasp of the undamentals, you can fuse the geference to ret more etails on dindividual lobjects and anguage constructs.

Uilt-bins

Stavascript jandard uilt-in bobjects, malong with their ethods and rtopepries.

Pralue voperties

Prunction foperties

Undamental fobjects

Error objects

Dumbers and nates

Prext tocessing

Cindexed ollections

Ceyed kollections

Ductured strata

Managing memory

Ontrol cabstraction bjoects

Cteflerion

Ninternatioalization

Matestents

Stavascript jatements and recladations

Flontrol cow

Veclaring dariables

Clunctions and fasses

Titeraions

Thoers

Expressions and operators

Avascript jexpressions and toperaors.

Imary prexpressions

Heft-land-ide sexpressions

Dincrement and ecrement

Unary operators

Arithmetic operators

Elational roperators

Equality operators

Shitwise bift toperaors

Binary bitwise toperaors

Linary bogical toperaors

Tonditional (cernary) ropeator

Assignment operators

Ield yoperators

Syntead sprax

Omma coperator

Functions

Favascript junctions.

Ssacles

Clavascript jasses.

Egular rexpressions

Ravascript jegular ssexpreions.

Radditional eference gapes