MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

MDN JavaScript pages

This page lists all MDN JavaScript pages along with their summary and tags.

Found 871 pages:

# Page Tags and summary
1 JavaScript JavaScript, Landing, Learn, l10n:priority
JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. Read more about JavaScript.
2 A re-introduction to JavaScript (JS tutorial) CodingScripting, Intermediate, Intro, JavaScript, Learn, Tutorial
Why a re-introduction? Because JavaScript is notorious for being the world's most misunderstood programming language. It is often derided as being a toy, but beneath its layer of deceptive simplicity, powerful language features await. JavaScript is now used by an incredible number of high-profile applications, showing that deeper knowledge of this technology is an important skill for any web or mobile developer.
3 About JavaScript Beginner, Introduction, JavaScript
JavaScript® (often shortened to JS) is a lightweight, interpreted, object-oriented language with first-class functions, and is best known as the scripting language for Web pages, but it's used in many non-browser environments as well. It is a prototype-based, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles.
4 Closures Closure, Intermediate, JavaScript
A closure is the combination of a function and the lexical environment within which that function was declared.
5 Concurrency model and Event Loop Advanced, Event Loop, JavaScript
JavaScript has a concurrency model based on an "event loop". This model is quite different from models in other languages like C and Java.
6 Enumerability and ownership of properties JavaScript
Enumerable properties are those properties whose internal [[Enumerable]] flag is set to true, which is the default for properties created via simple assignment or via a property initializer (properties defined via Object.defineProperty and such default [[Enumerable]] to false). Enumerable properties show up in for...in loops unless the property's name is a Symbol. Ownership of properties is determined by whether the property belongs to the object directly and not to its prototype chain. Properties of an object can also be retrieved in total. There are a number of built-in means of detecting, iterating/enumerating, and retrieving object properties, with the chart showing which are available. Some sample code follows which demonstrates how to obtain the missing categories.
7 Equality comparisons and sameness Comparison, Equality, Intermediate, JavaScript, SameValue, SameValueZero, Sameness
Briefly, double equals will perform a type conversion when comparing two things; triple equals will do the same comparison without type conversion (by simply always returning false if the types differ); and Object.is will behave the same way as triple equals, but with special handling for NaN and -0 and +0 so that the last two are not said to be the same, while Object.is(NaN, NaN) will be true. (Comparing NaN with NaN ordinarily—i.e., using either double equals or triple equals—evaluates to false, because IEEE 754 says so.) Do note that the distinction between these all have to do with their handling of primitives; none of them compares whether the parameters are conceptually similar in structure. For any non-primitive objects x and y which have the same structure but are distinct objects themselves, all of the above forms will evaluate to false.
8 Index Index, JavaScript, MDN Meta
This page lists all MDN JavaScript pages along with their summary and tags.
9 Inheritance and the prototype chain Advanced, Guide, Inheritance, JavaScript, OOP
JavaScript is a bit confusing for developers experienced in class-based languages (like Java or C++), as it is dynamic and does not provide a class implementation per se (the class keyword is introduced in ES2015, but is syntactical sugar, JavaScript remains prototype-based).
10 JavaScript Guide Guide, JavaScript, l10n:priority
The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference.
11 Control flow and error handling Beginner, Guide, JavaScript, l10n:priority
JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.
12 Details of the object model Guide, Intermediate, JavaScript, Object, l10n:priority
JavaScript is an object-based language based on prototypes, rather than being class-based. Because of this different basis, it can be less apparent how JavaScript allows you to create hierarchies of objects and to have inheritance of properties and their values. This chapter attempts to clarify the situation.
13 Expressions and operators Beginner, Expressions, Guide, JavaScript, Operators, l10n:priority
This chapter describes JavaScript's expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more.
14 Functions Beginner, Functions, Guide, JavaScript, l10n:priority
Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.
15 Grammar and types Guide, JavaScript, l10n:priority
This chapter discusses JavaScript's basic grammar, variable declarations, data types and literals.
16 Indexed collections Guide, JavaScript, Method, l10n:priority
This chapter introduces collections of data which are ordered by an index value. This includes arrays and array-like constructs such as Array objects and TypedArray objects.
17 Introduction Beginner, Guide, Introduction, JavaScript, l10n:priority
This chapter introduces JavaScript and discusses some of its fundamental concepts.
18 Iterators and generators Guide, Intermediate, JavaScript, l10n:priority
Processing each of the items in a collection is a very common operation. JavaScript provides a number of ways of iterating over a collection, from simple for loops to map() and filter(). Iterators and Generators bring the concept of iteration directly into the core language and provide a mechanism for customizing the behavior of for...of loops.
19 Keyed collections Collections, Guide, JavaScript, Map, l10n:priority, set
This chapter introduces collections of data which are ordered by a key; Map and Set objects contain elements which are iterable in the order of insertion.
20 Loops and iteration Guide, JavaScript, Loop, Syntax, l10n:priority
Loops offer a quick and easy way to do something repeatedly. This chapter of the JavaScript Guide introduces the different iteration statements available to JavaScript.
21 Meta programming Guide, JavaScript, Proxy, Reflect, l10n:priority
Starting with ECMAScript 2015, JavaScript gains support for the Proxy and Reflect objects allowing you to intercept and define custom behavior for fundamental language operations (e.g. property lookup, assignment, enumeration, function invocation, etc). With the help of these two objects you are able to program at the meta level of JavaScript.
22 Numbers and dates Guide, JavaScript, l10n:priority
This chapter introduces how to work with numbers and dates in JavaScript.
23 Regular Expressions Guide, Intermediate, JavaScript, Reference, RegExp, Regular Expressions, regex
Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec and test methods of RegExp, and with the match, replacesearch, and split methods of String. This chapter describes JavaScript regular expressions.
24 Text formatting Guide, JavaScript, l10n:priority
This chapter introduces how to work with strings and text in JavaScript.
25 Using promises Guide, Intermediate, JavaScript, Promise, Promises
A Promise is an object representing the eventual completion or failure of an asynchronous operation. A promise may be created using its constructor. However, most people are consumers of already-created promises returned from functions. This guide will therefore explore consumption of returned promises first.
26 Working with objects Beginner, Comparing object, Constructor, Document, Guide, JavaScript, Object, l10n:priority
JavaScript is designed on a simple object-based paradigm. An object is a collection of properties, and a property is an association between a name (or key) and a value. A property's value can be a function, in which case the property is known as a method. In addition to objects that are predefined in the browser, you can define your own objects. This chapter describes how to use objects, properties, functions, and methods, and how to create your own objects.
27 JavaScript data types and data structures Beginner, JavaScript, Types
Programming languages all have built-in data structures, but these often differ from one language to another. This article attempts to list the built-in data structures available in JavaScript and what properties they have; these can be used to build other data structures. When possible, comparisons with other languages are drawn.
28 JavaScript language resources Advanced, JavaScript
ECMAScript is the scripting language that forms the basis of JavaScript. ECMAScript is standardized by the ECMA International standards organization in the ECMA-262 and ECMA-402 specifications. The following ECMAScript standards have been approved or are being worked on:
29 JavaScript reference JavaScript, l10n:priority
This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference.
30 About this reference JavaScript
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"). If you're learning JavaScript, or need help understanding some of its capabilities or features, check out the JavaScript guide.
31 Classes Classes, Constructors, ECMAScript 2015, Inheritance, Intermediate, JavaScript
JavaScript classes introduced in ECMAScript 2015 are primarily syntactical sugar over JavaScript's existing prototype-based inheritance. The class syntax is not introducing a new object-oriented inheritance model to JavaScript. JavaScript classes provide a much simpler and clearer syntax to create objects and deal with inheritance.
32 constructor Classes, ECMAScript 2015, JavaScript
The constructor method is a special method for creating and initializing an object created within a class.
33 extends Classes, ECMAScript 2015, JavaScript
The extends keyword is used in class declarations or class expressions to create a class which is a child of another class.
34 static Classes, ECMAScript 2015, JavaScript, Static
The static keyword defines a static method for a class.
35 Deprecated and obsolete features Deprecated, JavaScript, Obsolete
This page lists features of JavaScript that are deprecated (that is, still available but planned for removal) and obsolete (that is, no longer usable).
36 The legacy Iterator protocol JavaScript, Legacy Iterator
Firefox, prior to version 26 implemented another iterator protocol that is similar to the standard ES2015 Iterator protocol.
37 Expressions and operators JavaScript, Operators
This chapter documents all the JavaScript language operators, expressions and keywords.
38 Arithmetic operators JavaScript, Operator
Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value. The standard arithmetic operators are addition (+), subtraction (-), multiplication (*), and division (/).
39 Array comprehensions JavaScript, Non-standard, Operator, Reference
The array comprehension syntax is a JavaScript expression which allows you to quickly assemble a new array based on an existing one. Comprehensions exist in many programming languages.
40 Assignment operators JavaScript, Operator
An assignment operator assigns a value to its left operand based on the value of its right operand.
41 Bitwise operators JavaScript, Operator, Reference
Bitwise operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal numbers. For example, the decimal number nine has a binary representation of 1001. Bitwise operators perform their operations on such binary representations, but they return standard JavaScript numerical values.
42 Comma operator JavaScript, Operator
The comma operator evaluates each of its operands (from left to right) and returns the value of the last operand.
43 Comparison operators JavaScript, Operator, Reference
JavaScript has both strict and type–converting comparisons. A strict comparison (e.g., ===) is only true if the operands are of the same type and the contents match. The more commonly-used abstract comparison (e.g. ==) converts the operands to the same type before making the comparison. For relational abstract comparisons (e.g., <=), the operands are first converted to primitives, then to the same type, before comparison.
44 Conditional (ternary) Operator JavaScript, Operator
The conditional (ternary) operator is the only JavaScript operator that takes three operands. This operator is frequently used as a shortcut for the if statement.
45 Destructuring assignment Destructuring, ECMAScript 2015, JavaScript, Operator
The destructuring assignment syntax is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variables.
46 Expression closures Functions, JavaScript, Reference
Expression closures are a shorthand function syntax for writing simple functions.
47 Generator comprehensions Iterator, JavaScript, Non-standard, Reference
The generator comprehension syntax is a JavaScript expression which allows you to quickly assemble a new generator function based on an existing iterable object. Comprehensions exist in many programming languages.
48 Grouping operator JavaScript, Operator, Primary Expressions
The grouping operator ( ) controls the precedence of evaluation in expressions.
49 Legacy generator function expression JavaScript, Legacy Iterator, Reference, Référence
The function keyword can be used to define a legacy generator function inside an expression. To make the function a legacy generator, the function body should contain at least one yield expression.
50 Logical Operators JavaScript, Logic, Logical Operators, Not, Operator, Reference, and, or
Logical operators are typically used with Boolean (logical) values. When they are, they return a Boolean value. However, the && and || operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value.
51 Object initializer ECMAScript 2015, JSON, JavaScript, Literal, Methods, Object, Primary Expression, computed, mutation, properties
Objects can be initialized using new Object(), Object.create(), or using the literal notation (initializer notation). An object initializer is a comma-delimited list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({}).
52 Operator precedence JavaScript, Operator, precedence
Operator precedence determines the order in which operators are evaluated. Operators with higher precedence are evaluated first.
53 Property accessors JavaScript, Operator
Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
54 Spread syntax ECMAScript 2015, Iterator, JavaScript, Operator
The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or multiple variables (for destructuring assignment) are expected.
55 async function expression Experimental, Function, JavaScript, Operator, Primary Expression
The async function keyword can be used to define async functions inside expressions.
56 await Experimental, JavaScript, Operator
The await operator is used to wait for a Promise. It can only be used inside an async function.
57 class expression Classes, ECMAScript 2015, Expression, JavaScript, Operator, Reference
The class expression is one way to define a class in ECMAScript 2015. Similar to function expressions, class expressions can be named or unnamed. If named, the name of the class is local to the class body only. JavaScript classes are using prototype-based inheritance.
58 delete operator JavaScript, Operator, Reference, Unary
The delete operator removes a property from an object.
59 function expression Function, JavaScript, Operator, Primary Expressions
The function keyword can be used to define a function inside an expression.
60 function* expression ECMAScript 2015, Function, Iterator, JavaScript, Operator, Primary Expression
The function* keyword can be used to define a generator function inside an expression.
61 in operator JavaScript, Operator, Relational Operators
The in operator returns true if the specified property is in the specified object.
62 instanceof JavaScript, Object, Operator, Prototype, Relational Operators, instanceof
The instanceof operator tests whether an object in its prototype chain has the prototype property of a constructor.
63 new operator JavaScript, Left-hand-side expressions, Operator
The new operator creates an instance of a user-defined object type or of one of the built-in object types that has a constructor function.
64 new.target Classes, ECMAScript 2015, JavaScript, Reference
The new.target property lets you detect whether a function or constructor was called using the new operator. In constructors and functions instantiated with the new operator, new.target returns a reference to the constructor or function. In normal function calls, new.target is undefined.
65 super Classes, ECMAScript 2015, JavaScript, Left-hand-side expressions, Operator
The super keyword is used to call functions on an object's parent.
66 this JavaScript, Operator, Primary Expressions, Reference
A function's this keyword behaves a little differently in JavaScript compared to other languages. It also has some differences between strict mode and non-strict mode.
67 typeof JavaScript, Operator, Unary
The typeof operator returns a string indicating the type of the unevaluated operand.
68 void operator JavaScript, Operator, Unary
The void operator evaluates the given expression and then returns undefined.
69 yield ECMAScript 2015, Generators, Iterator, JavaScript, Operator
The yield keyword is used to pause and resume a generator function (function* or legacy generator function).
70 yield* ECMAScript 2015, Generators, Iterable, Iterator, JavaScript, Operator, Reference
The yield* expression is used to delegate to another generator or iterable object.
71 Functions Constructor, Function, Functions, JavaScript, Parameter, parameters
Generally speaking, a function is a "subprogram" that can be called by code external (or internal in the case of recursion) to the function. Like the program itself, a function is composed of a sequence of statements called the function body. Values can be passed to a function, and the function will return a value.
72 Arguments object Functions, JavaScript, Reference, arguments
The arguments object is an Array-like object corresponding to the arguments passed to a function.
73 arguments.callee Deprecated, Functions, JavaScript, Property, arguments
The arguments.callee property contains the currently executing function.
74 arguments.caller Functions, JavaScript, Obsolete, Property, arguments
The obsolete arguments.caller property used to provide the function that invoked the currently executing function. This property has been removed and no longer works.
75 arguments.length Functions, JavaScript, Property, arguments
The arguments.length property contains the number of arguments passed to the function.
76 arguments[@@iterator]() Deprecated, Functions, JavaScript, Property, arguments
The initial value of the @@iterator property is the same function object as the initial value of the Array.prototype.values property.
77 Arrow functions ECMAScript 2015, Functions, Intermediate, JavaScript, Reference
An arrow function expression has a shorter syntax than a function expression and does not bind its own thisargumentssuper, or new.target. These function expressions are best suited for non-method functions, and they cannot be used as constructors.
78 Default parameters ECMAScript 2015, Functions, JavaScript
Default function parameters allow formal parameters to be initialized with default values if no value or undefined is passed.
79 Method definitions ECMAScript 2015, Functions, JavaScript, Object, Syntax
Starting with ECMAScript 2015, a shorter syntax for method definitions on objects initializers is introduced. It is a shorthand for a function assigned to the method's name.
80 Rest parameters Functions, JavaScript, Rest, Rest parameters
The rest parameter syntax allows us to represent an indefinite number of arguments as an array.
81 getter ECMAScript 2015, ECMAScript 5, Functions, JavaScript
The get syntax binds an object property to a function that will be called when that property is looked up.
82 setter ECMAScript 5, Functions, JavaScript
The set syntax binds an object property to a function to be called when there is an attempt to set that property.
83 Iteration protocols ECMAScript 2015, Intermediate, Iterable, Iterator, JavaScript
A couple of additions to ECMAScript 2015 aren't new built-ins or syntax, but protocols. These protocols can be implemented by any object respecting some conventions.
84 JavaScript error reference Debugging, Error, Errors, Exception, JavaScript, exceptions
Below, you'll find a list of errors which are thrown by JavaScript. These errors can be a helpful debugging aid, but the reported problem isn't always immediately clear. The pages below will provide additional details about these errors. Each error is an object based upon the Error object, and has a name and a message.
85 Error: Permission denied to access property "x" Error, Errors, JavaScript, Security
There was attempt to access an object for which you have no permission. This is likely an <iframe> element loaded from a different domain for which you violated the same-origin policy.
86 InternalError: too much recursion Errors, InternalError, JavaScript
When there is too much or infinite recursion, JavaScript will throw this error.
87 RangeError: argument is not a valid code point Errors, JavaScript, RangeError
RangeError
88 RangeError: invalid array length Errors, JavaScript, RangeError
RangeError
89 RangeError: invalid date Errors, JavaScript, RangeError
RangeError
90 RangeError: precision is out of range Errors, JavaScript, RangeError
RangeError
91 RangeError: radix must be an integer Errors, JavaScript, RangeError
RangeError
92 RangeError: repeat count must be less than infinity Errors, JavaScript, RangeError
RangeError
93 RangeError: repeat count must be non-negative Errors, JavaScript, RangeError
RangeError
94 ReferenceError: "x" is not defined Error, JavaScript, ReferenceError
ReferenceError.
95 ReferenceError: assignment to undeclared variable "x" Errors, JavaScript, ReferenceError, Strict Mode
ReferenceError warning in strict mode only.
96 ReferenceError: deprecated caller or arguments usage Errors, JavaScript, Strict Mode, Warning
A strict-mode-only warning that a ReferenceError occurred. JavaScript execution won't be halted.
97 ReferenceError: invalid assignment left-hand side Errors, JavaScript, ReferenceError
ReferenceError.
98 ReferenceError: reference to undefined property "x" Errors, JavaScript, ReferenceError, Strict Mode
ReferenceError warning in strict mode only.
99 SyntaxError: "0"-prefixed octal literals and octal escape seq. are deprecated Error, JavaScript, Strict Mode, SyntaxError
SyntaxError in strict mode only.
100 SyntaxError: "use strict" not allowed in function with non-simple parameters Errors, JavaScript, TypeError
SyntaxError.
101 SyntaxError: "x" is a reserved identifier Error, Errors, JavaScript, SyntaxError
SyntaxError
102 SyntaxError: JSON.parse: bad parsing Errors, JSON, JavaScript, Method, Property, SyntaxError
SyntaxError
103 SyntaxError: Malformed formal parameter Errors, JavaScript, SyntaxError
SyntaxError
104 SyntaxError: Unexpected token Errors, JavaScript, SyntaxError
SyntaxError
105 SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead Errors, JavaScript, Source maps
A warning that a SyntaxError occurred. JavaScript execution won't be halted.
106 SyntaxError: a declaration in the head of a for-of loop can't have an initializer Error, JavaScript, SyntaxError
SyntaxError
107 SyntaxError: applying the 'delete' operator to an unqualified name is deprecated Error, Errors, JavaScript, SyntaxError
SyntaxError in strict mode only.
108 SyntaxError: for-in loop head declarations may not have initializers Error, JavaScript, Strict Mode, SyntaxError
SyntaxError in strict mode only.
109 SyntaxError: function statement requires a name Error, Errors, JavaScript, SyntaxError
SyntaxError
110 SyntaxError: identifier starts immediately after numeric literal Error, Errors, JavaScript, SyntaxError
SyntaxError
111 SyntaxError: illegal character Error, Errors, JavaScript, SyntaxError
SyntaxError
112 SyntaxError: invalid regular expression flag "x" Error, JavaScript, SyntaxError
SyntaxError
113 SyntaxError: missing ) after argument list Errors, JavaScript, SyntaxError
SyntaxError.
114 SyntaxError: missing ) after condition Error, Errors, JavaScript, SyntaxError
SyntaxError
115 SyntaxError: missing : after property id Error, Errors, JavaScript, SyntaxError
SyntaxError
116 SyntaxError: missing ; before statement Errors, JavaScript, SyntaxError
SyntaxError.
117 SyntaxError: missing = in const declaration Error, JavaScript, SyntaxError
SyntaxError
118 SyntaxError: missing ] after element list Errors, JavaScript, SyntaxError
SyntaxError.
119 SyntaxError: missing formal parameter Error, Errors, JavaScript, SyntaxError
SyntaxError
120 SyntaxError: missing name after . operator Error, Errors, JavaScript, SyntaxError
SyntaxError
121 SyntaxError: missing variable name Error, Errors, JavaScript, SyntaxError
SyntaxError
122 SyntaxError: missing } after function body Error, Errors, JavaScript, SyntaxError
SyntaxError
123 SyntaxError: missing } after property list Errors, JavaScript, SyntaxError
SyntaxError
124 SyntaxError: redeclaration of formal parameter "x" Errors, JavaScript, SyntaxError
SyntaxError
125 SyntaxError: return not in function Errors, JavaScript, SyntaxError
SyntaxError.
126 SyntaxError: test for equality (==) mistyped as assignment (=)? Errors, JavaScript, SyntaxError
SyntaxError warning in strict mode only.
127 SyntaxError: unterminated string literal Errors, JavaScript, SyntaxError
SyntaxError
128 TypeError: "x" has no properties Errors, JavaScript, TypeError
TypeError.
129 TypeError: "x" is (not) "y" Errors, JavaScript, TypeError
TypeError.
130 TypeError: "x" is not a constructor Errors, JavaScript, TypeError
TypeError
131 TypeError: "x" is not a function Errors, JavaScript, TypeError
TypeError.
132 TypeError: "x" is not a non-null object Error, Errors, JavaScript, TypeError
TypeError
133 TypeError: "x" is read-only Errors, JavaScript, TypeError
TypeError
134 TypeError: More arguments needed Errors, JavaScript, TypeError
TypeError.
135 TypeError: can't access dead object Addons, Error, Errors, JavaScript
TypeError
136 TypeError: can't define property "x": "obj" is not extensible Error, Errors, JavaScript, TypeError
TypeError
137 TypeError: can't delete non-configurable array element Error, Errors, JavaScript, TypeError
TypeError
138 TypeError: can't redefine non-configurable property "x" Error, Errors, JavaScript, TypeError
TypeError
139 TypeError: cyclic object value Error, Errors, JavaScript, TypeError
TypeError
140 TypeError: invalid 'in' operand "x" Error, Errors, JavaScript, TypeError
TypeError
141 TypeError: invalid Array.prototype.sort argument Errors, JavaScript, TypeError
TypeError
142 TypeError: invalid arguments Error, Errors, JavaScript, TypeError
TypeError
143 TypeError: invalid assignment to const "x" Error, JavaScript, TypeError
TypeError
144 TypeError: property "x" is non-configurable and can't be deleted Errors, JavaScript, Strict Mode, TypeError
TypeError in strict mode only.
145 TypeError: setting getter-only property "x" Error, Errors, JavaScript, Strict Mode, TypeError
TypeError in strict mode only.
146 TypeError: variable "x" redeclares argument Errors, JavaScript, Strict Mode, TypeError
TypeError warning in strict mode only.
147 URIError: malformed URI sequence Error, Errors, JavaScript, URIError
URIError
148 Warning: -file- is being assigned a //# sourceMappingURL, but already has one Errors, JavaScript, Source maps, Warning
A warning. JavaScript execution won't be halted.
149 Warning: 08/09 is not a legal ECMA-262 octal constant Errors, JavaScript, SyntaxError, Warning
Warning. JavaScript execution won't be halted.
150 Warning: Date.prototype.toLocaleFormat is deprecated JavaScript, Warning
Warning. JavaScript execution won't be halted.
151 Warning: JavaScript 1.6's for-each-in loops are deprecated JavaScript, Warning
Warning
152 Warning: String.x is deprecated; use String.prototype.x instead JavaScript, Warning
Warning. JavaScript execution won't be halted.
153 Warning: expression closures are deprecated JavaScript, Warning
Warning. JavaScript execution won't be halted.
154 Warning: unreachable code after return statement JavaScript, Warning
Warning
155 JavaScript methods index JavaScript
This article entails a listing of all JavaScript methods documented on MDN sorted alphabetically.
156 JavaScript properties index JavaScript
This article entails a listing of all JavaScript properties documented on MDN sorted alphabetically.
157 Lexical grammar JavaScript, Keyword, Lexical Grammar, Literal
This page describes JavaScript's lexical grammar. The source text of ECMAScript scripts gets scanned from left to right and is converted into a sequence of input elements which are tokens, control characters, line terminators, comments or white space. ECMAScript also defines certain keywords and literals and has rules for automatic insertion of semicolons to end statements.
158 Standard built-in objects JavaScript, Reference, Référence
This chapter documents all of JavaScript's standard, built-in objects, including their methods and properties.
159 Array Array, Example, Global Objects, JavaScript, Reference
The JavaScript Array object is a global object that is used in the construction of arrays; which are high-level, list-like objects.
160 Array.from() Array, ECMAScript 2015, JavaScript, Method, Reference, polyfill
The Array.from() method creates a new Array instance from an array-like or iterable object.
161 Array.isArray() Array, ECMAScript 5, JavaScript, Method, Reference, polyfill
The Array.isArray() determines whether the passed value is an Array.
162 Array.length Array, JavaScript, Property, Reference
The array length property sets or returns the number of elements in an array. It represents an unsigned, 32-bit integer that is always numerically greater than the highest index in the array.
163 Array.observe() Array, JavaScript, Method, Obsolete
The Array.observe() method was used for asynchronously observing changes to Arrays, similar to Object.observe() for objects. It provided a stream of changes in order of occurrence. It's equivalent to Object.observe() invoked with the accept type list ["add", "update", "delete", "splice"]. However, this API has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
164 Array.of() Array, ECMAScript 2015, JavaScript, Method, polyfill
The Array.of() method creates a new Array instance with a variable number of arguments, regardless of number or type of the arguments.
165 Array.prototype Array, JavaScript, Property
The Array.prototype property represents the prototype for the Array constructor and allows you to add new properties and methods to all Array objects.
166 Array.prototype.concat() Array, JavaScript, Method, Prototype, Reference
The concat() method is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array.
167 Array.prototype.copyWithin() Array, ECMAScript 2015, JavaScript, Method, Prototype, Reference, polyfill
The copyWithin() method shallow copies part of an array to another location in the same array and returns it, without modifying its size.
168 Array.prototype.entries() Array, ECMAScript 2015, Iterator, JavaScript, Method, Prototype
The entries() method returns a new Array Iterator object that contains the key/value pairs for each index in the array.
169 Array.prototype.every() Array, ECMAScript 5, JavaScript, Method, Prototype, polyfill
The every() method tests whether all elements in the array pass the test implemented by the provided function.
170 Array.prototype.fill() Array, ECMAScript 2015, JavaScript, Method, Prototype, polyfill
The fill() method fills all the elements of an array from a start index to an end index with a static value.
171 Array.prototype.filter() Array, ECMAScript 5, JavaScript, Method, Prototype, Reference, polyfill
The filter() method creates a new array with all elements that pass the test implemented by the provided function.
172 Array.prototype.find() Array, ECMAScript 2015, JavaScript, Method, Prototype, Reference, polyfill
The find() method returns the value of the first element in the array that satisfies the provided testing function. Otherwise undefined is returned.
173 Array.prototype.findIndex() Array, ECMAScript 2015, JavaScript, Method, Prototype, Reference, polyfill
The findIndex() method returns the index of the first element in the array that satisfies the provided testing function. Otherwise -1 is returned.
174 Array.prototype.forEach() Array, ECMAScript 5, JavaScript, Method, Prototype, Reference
The forEach() method executes a provided function once for each array element.
175 Array.prototype.includes() Array, JavaScript, Method, Prototype, Reference, polyfill
The includes() method determines whether an array includes a certain element, returning true or false as appropriate.
176 Array.prototype.indexOf() Array, JavaScript, Method, Prototype, Reference, polyfill
The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.
177 Array.prototype.join() Array, JavaScript, Method, Prototype, Reference
The join() method joins all elements of an array (or an array-like object) into a string.
178 Array.prototype.keys() Array, ECMAScript 2015, Iterator, JavaScript, Method, Prototype
The keys() method returns a new Array Iterator that contains the keys for each index in the array.
179 Array.prototype.lastIndexOf() Array, ECMAScript 5, JavaScript, Method, Prototype, polyfill
The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex.
180 Array.prototype.map() Array, ECMAScript 5, JavaScript, Method, Prototype, polyfill
The map() method creates a new array with the results of calling a provided function on every element in the calling array.
181 Array.prototype.pop() Array, JavaScript, Method, Prototype, Reference
The pop() method removes the last element from an array and returns that element. This method changes the length of the array.
182 Array.prototype.push() Array, JavaScript, Method, Prototype, Reference
The push() method adds one or more elements to the end of an array and returns the new length of the array.
183 Array.prototype.reduce() Array, ECMAScript 5, JavaScript, Method, Prototype, Reduce, Reference
The reduce() method applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value.
184 Array.prototype.reduceRight() Array, ECMAScript 5, JavaScript, Method, Prototype, polyfill
The reduceRight() method applies a function against an accumulator and each value of the array (from right-to-left) to reduce it to a single value.
185 Array.prototype.reverse() Array, JavaScript, Method, Prototype
The reverse() method reverses an array in place. The first array element becomes the last, and the last array element becomes the first.
186 Array.prototype.shift() Array, JavaScript, Method, Prototype
The shift() method removes the first element from an array and returns that element. This method changes the length of the array.
187 Array.prototype.slice() Array, JavaScript, Method, Prototype, Reference
The slice() method returns a shallow copy of a portion of an array into a new array object selected from begin to end (end not included). The original array will not be modified.
188 Array.prototype.some() Array, ECMAScript5, JavaScript, Method, Prototype, Reference
The some() method tests whether some element in the array passes the test implemented by the provided function.
189 Array.prototype.sort() Array, JavaScript, Method, Prototype
The sort() method sorts the elements of an array in place and returns the array. The sort is not necessarily stable. The default sort order is according to string Unicode code points.
190 Array.prototype.splice() Array, JavaScript, Method, Prototype, Reference
The splice() method changes the contents of an array by removing existing elements and/or adding new elements.
191 Array.prototype.toLocaleString() Array, Internationalization, JavaScript, Method, Prototype
The toLocaleString() method returns a string representing the elements of the array. The elements are converted to Strings using their toLocaleString methods and these Strings are separated by a locale-specific String (such as a comma “,”).
192 Array.prototype.toSource() Array, JavaScript, Method, Prototype
The toSource() method returns a string representing the source code of the array.
193 Array.prototype.toString() Array, JavaScript, Method, Prototype
The toString() method returns a string representing the specified array and its elements.
194 Array.prototype.unshift() Array, JavaScript, Method, Prototype, Reference
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array.
195 Array.prototype.values() Array, ECMAScript 2015, Iterator, JavaScript, Method, Prototype
The values() method returns a new Array Iterator object that contains the values for each index in the array.
196 Array.prototype[@@iterator]() Array, ECMAScript 2015, Iterator, JavaScript, Method, Prototype, Reference
The initial value of the @@iterator property is the same function object as the initial value of the values() property.
197 Array.prototype[@@unscopables] Array, ECMAScript 2015, JavaScript, Property, Prototype
The @@unscopable symbol property contains property names that were not included in the ECMAScript standard prior to the ES2015 version. These properties are excluded from with statement bindings.
198 Array.unobserve() Array, JavaScript, Method, Obsolete
The Array.unobserve() method was used to remove observers set by Array.observe(), but has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
199 get Array[@@species] Array, JavaScript, Method, Prototype
The Array[@@species] accessor property returns the Array constructor.
200 ArrayBuffer ArrayBuffer, Constructor, JavaScript, TypedArrays
The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create one of the typed array objects or a DataView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.
201 ArrayBuffer.isView() ArrayBuffer, JavaScript, Method, TypedArrays
The ArrayBuffer.isView() method returns true if arg is one of the ArrayBuffer views, such as typed array objects or a DataView; false otherwise.
202 ArrayBuffer.prototype ArrayBuffer, JavaScript, Property
The ArrayBuffer.prototype property represents the prototype for the ArrayBuffer object.
203 ArrayBuffer.prototype.byteLength ArrayBuffer, JavaScript, Property, Prototype
The byteLength accessor property represents the length of an ArrayBuffer in bytes.
204 ArrayBuffer.prototype.slice() ArrayBuffer, JavaScript, Method, Prototype
The slice() method returns a new ArrayBuffer whose contents are a copy of this ArrayBuffer's bytes from begin, inclusive, up to end, exclusive.
205 ArrayBuffer.transfer() ArrayBuffer, Experimental, JavaScript, Method, Reference, TypedArrays
The static ArrayBuffer.transfer() method returns a new ArrayBuffer whose contents have been taken from the oldBuffer's data and then is either truncated or zero-extended by newByteLength. If newByteLength is undefined, the byteLength of the oldBuffer is used. This operation leaves oldBuffer in a detached state.
206 get ArrayBuffer[@@species] ArrayBuffer, JavaScript, Property, TypedArrays
The ArrayBuffer[@@species] accessor property returns the ArrayBuffer constructor.
207 AsyncFunction Constructor, Experimental, JavaScript, Reference
The AsyncFunction constructor creates a new async function object. In JavaScript every asynchronous function is actually an AsyncFunction object.
208 AsyncFunction.prototype Experimental, JavaScript, Property, Prototype, Reference
The AsyncFunction.prototype property represents the AsyncFunction prototype object.
209 Atomics Atomics, Experimental, JavaScript, Shared Memory, Specifications
The Atomics object provides atomic operations as static methods. They are used with SharedArrayBuffer objects.
210 Atomics.add() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.add() method adds a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
211 Atomics.and() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.and() method computes a bitwise AND with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
212 Atomics.compareExchange() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.compareExchange() method exchanges a given replacement value at a given position in the array, and returns the old value at that position, if a given expected value equals the old value. This atomic operation guarantees that no other write happens until the modified value is written back.
213 Atomics.exchange() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.exchange() method exchanges a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
214 Atomics.isLockFree() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.isLockFree() method is used to determine whether to use locks or atomic operations. It returns true, if the given size is one of the BYTES_PER_ELEMENT property of integer TypedArray types.
215 Atomics.load() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.load() method returns a value at a given position in the array. This atomic operation guarantees that no other read happens until the modified value is read back.
216 Atomics.or() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.or() method computes a bitwise OR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
217 Atomics.store() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.store() method stores a given value at the given position in the array and returns that value. This atomic operation guarantees that no other write happens until the modified value is written back.
218 Atomics.sub() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.sub() method substracts a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
219 Atomics.wait() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.wait() method verifies that a given position in an Int32Array still contains a given value and sleeps awaiting or times out. It returns a string which is either "ok", "not-equal", or "timed-out".
220 Atomics.wake() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.wake() method wakes up some agents that are sleeping in the wait queue.
221 Atomics.xor() Atomics, Experimental, JavaScript, Method, Shared Memory
The static Atomics.xor() method computes a bitwise XOR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
222 Boolean Boolean, Constructor, JavaScript
The Boolean object is an object wrapper for a boolean value.
223 Boolean.prototype Boolean, JavaScript, Property, Prototype
The Boolean.prototype property represents the prototype for the Boolean constructor.
224 Boolean.prototype.toSource() Boolean, JavaScript, Method, Prototype
The toSource() method returns a string representing the source code of the object.
225 Boolean.prototype.toString() Boolean, JavaScript, Method, Prototype
The toString() method returns a string representing the specified Boolean object.
226 Boolean.prototype.valueOf() Boolean, JavaScript, Method, Prototype
The valueOf() method returns the primitive value of a Boolean object.
227 DataView Constructor, DataView, JavaScript, TypedArrays
The DataView view provides a low-level interface for reading and writing multiple number types in an ArrayBuffer irrespective of the platform's endianness.
228 DataView.prototype DataView, JavaScript, Property
The DataView.prototype property represents the prototype for the DataView object.
229 DataView.prototype.buffer DataView, JavaScript, Property, Prototype, TypedArrays
The buffer accessor property represents the ArrayBuffer or SharedArrayBuffer referenced by the DataView at construction time.
230 DataView.prototype.byteLength DataView, JavaScript, Property, Prototype, TypedArrays
The byteLength accessor property represents the length (in bytes) of this view from the start of its ArrayBuffer or SharedArrayBuffer.
231 DataView.prototype.byteOffset DataView, JavaScript, Property, Prototype, TypedArrays
The byteOffset accessor property represents the offset (in bytes) of this view from the start of its ArrayBuffer or SharedArrayBuffer.
232 DataView.prototype.getFloat32() DataView, JavaScript, Method, Prototype, TypedArrays
The getFloat32() method gets a signed 32-bit float (float) at the specified byte offset from the start of the DataView.
233 DataView.prototype.getFloat64() DataView, JavaScript, Method, Prototype, TypedArrays
The getFloat64() method gets a signed 64-bit float (double) at the specified byte offset from the start of the DataView.
234 DataView.prototype.getInt16() DataView, JavaScript, Method, Prototype, TypedArrays
The getInt16() method gets a signed 16-bit integer (short) at the specified byte offset from the start of the DataView.
235 DataView.prototype.getInt32() DataView, JavaScript, Method, Prototype, TypedArrays
The getInt32() method gets a signed 32-bit integer (long) at the specified byte offset from the start of the DataView.
236 DataView.prototype.getInt8() DataView, JavaScript, Method, Prototype, TypedArrays
The getInt8() method gets a signed 8-bit integer (byte) at the specified byte offset from the start of the DataView.
237 DataView.prototype.getUint16() DataView, JavaScript, Method, Prototype, TypedArrays
The getUint16() method gets an unsigned 16-bit integer (unsigned short) at the specified byte offset from the start of the DataView.
238 DataView.prototype.getUint32() DataView, JavaScript, Method, Prototype, TypedArrays
The getUint32() method gets an unsigned 32-bit integer (unsigned long) at the specified byte offset from the start of the DataView.
239 DataView.prototype.getUint8() DataView, JavaScript, Method, Prototype, TypedArrays
The getUint8() method gets an unsigned 8-bit integer (unsigned byte) at the specified byte offset from the start of the DataView.
240 DataView.prototype.setFloat32() DataView, JavaScript, Method, Prototype, TypedArrays
The setFloat32() method stores a signed 32-bit float (float) value at the specified byte offset from the start of the DataView.
241 DataView.prototype.setFloat64() DataView, JavaScript, Method, Prototype, TypedArrays
The setFloat64() method stores a signed 64-bit float (double) value at the specified byte offset from the start of the DataView.
242 DataView.prototype.setInt16() DataView, JavaScript, Method, Prototype, TypedArrays
The setInt16() method stores a signed 16-bit integer (short) value at the specified byte offset from the start of the DataView.
243 DataView.prototype.setInt32() DataView, JavaScript, Method, Prototype, TypedArrays
The setInt32() method stores a signed 32-bit integer (long) value at the specified byte offset from the start of the DataView.
244 DataView.prototype.setInt8() DataView, JavaScript, Method, Prototype, TypedArrays
The setInt8() method stores a signed 8-bit integer (byte) value at the specified byte offset from the start of the DataView.
245 DataView.prototype.setUint16() DataView, JavaScript, Method, Prototype, TypedArrays
The setUint16() method stores an unsigned 16-bit integer (unsigned short) value at the specified byte offset from the start of the DataView.
246 DataView.prototype.setUint32() DataView, JavaScript, Method, Prototype, TypedArrays
The setUint32() method stores an unsigned 32-bit integer (unsigned long) value at the specified byte offset from the start of the DataView.
247 DataView.prototype.setUint8() DataView, JavaScript, Method, Prototype, TypedArrays
The setUint8() method stores an unsigned 8-bit integer (byte) value at the specified byte offset from the start of the DataView.
248 Date Date, JavaScript
Creates a JavaScript Date instance that represents a single moment in time. Date objects are based on a time value that is the number of milliseconds since 1 January, 1970 UTC.
249 Date.UTC() Date, JavaScript, Method, Reference
The Date.UTC() method accepts the same parameters as the longest form of the constructor, and returns the number of milliseconds in a Date object since January 1, 1970, 00:00:00, universal time.
250 Date.now() Date, JavaScript, Method, Reference, polyfill
The Date.now() method returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
251 Date.parse() Date, JavaScript, Method, Reference
The Date.parse() method parses a string representation of a date, and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC or NaN if the string is unrecognised or, in some cases, contains illegal date values (e.g. 2015-02-31).
252 Date.prototype Date, JavaScript, Property, Prototype, Reference
The Date.prototype property represents the prototype for the Date constructor.
253 Date.prototype.getDate() Date, JavaScript, Method, Prototype, Reference
The getDate() method returns the day of the month for the specified date according to local time.
254 Date.prototype.getDay() Date, JavaScript, Method, Prototype, Reference
The getDay() method returns the day of the week for the specified date according to local time, where 0 represents Sunday. For the day of the month see getDate().
255 Date.prototype.getFullYear() Date, JavaScript, Method, Prototype, Reference
The getFullYear() method returns the year of the specified date according to local time.
256 Date.prototype.getHours() Date, JavaScript, Method, Prototype, Reference
The getHours() method returns the hour for the specified date, according to local time.
257 Date.prototype.getMilliseconds() Date, JavaScript, Method, Prototype, Reference
The getMilliseconds() method returns the milliseconds in the specified date according to local time.
258 Date.prototype.getMinutes() Date, JavaScript, Method, Prototype, Reference
The getMinutes() method returns the minutes in the specified date according to local time.
259 Date.prototype.getMonth() Date, JavaScript, Method, Prototype, Reference
The getMonth() method returns the month in the specified date according to local time, as a zero-based value (where zero indicates the first month of the year).
260 Date.prototype.getSeconds() Date, JavaScript, Method, Prototype, Reference
The getSeconds() method returns the seconds in the specified date according to local time.
261 Date.prototype.getTime() Date, JavaScript, Method, Prototype, Reference, Référence
The getTime() method returns the numeric value corresponding to the time for the specified date according to universal time.
262 Date.prototype.getTimezoneOffset() Date, JavaScript, Method, Prototype, Reference
The getTimezoneOffset() method returns the time zone difference, in minutes, from current locale (host system settings) to UTC.
263 Date.prototype.getUTCDate() Date, JavaScript, Method, Prototype, Reference
The getUTCDate() method returns the day (date) of the month in the specified date according to universal time.
264 Date.prototype.getUTCDay() Date, JavaScript, Method, Prototype, Reference
The getUTCDay() method returns the day of the week in the specified date according to universal time, where 0 represents Sunday.
265 Date.prototype.getUTCFullYear() Date, JavaScript, Method, Prototype, Reference
The getUTCFullYear() method returns the year in the specified date according to universal time.
266 Date.prototype.getUTCHours() Date, JavaScript, Method, Prototype, Reference
The getUTCHours() method returns the hours in the specified date according to universal time.
267 Date.prototype.getUTCMilliseconds() Date, JavaScript, Method, Prototype, Reference
The getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time.
268 Date.prototype.getUTCMinutes() Date, JavaScript, Method, Prototype, Reference
The getUTCMinutes() method returns the minutes in the specified date according to universal time.
269 Date.prototype.getUTCMonth() Date, JavaScript, Method, Prototype, Reference
The getUTCMonth() returns the month of the specified date according to universal time, as a zero-based value (where zero indicates the first month of the year).
270 Date.prototype.getUTCSeconds() Date, JavaScript, Method, Prototype, Reference
The getUTCSeconds() method returns the seconds in the specified date according to universal time.
271 Date.prototype.getYear() Date, Deprecated, JavaScript, Method, Prototype, Reference
The getYear() method returns the year in the specified date according to local time. Because getYear() does not return full years ("year 2000 problem"), it is no longer used and has been replaced by the getFullYear() method.
272 Date.prototype.setDate() Date, JavaScript, Method, Prototype, Reference
The setDate() method sets the day of the Date object relative to the beginning of the currently set month.
273 Date.prototype.setFullYear() Date, JavaScript, Method, Prototype, Reference
The setFullYear() method sets the full year for a specified date according to local time. Returns new timestamp.
274 Date.prototype.setHours() Date, JavaScript, Method, Prototype, Reference
The setHours() method sets the hours for a specified date according to local time, and returns the number of milliseconds since 1 January 1970 00:00:00 UTC until the time represented by the updated Date instance.
275 Date.prototype.setMilliseconds() Date, JavaScript, Method, Prototype, Reference
The setMilliseconds() method sets the milliseconds for a specified date according to local time.
276 Date.prototype.setMinutes() Date, JavaScript, Method, Prototype, Reference
The setMinutes() method sets the minutes for a specified date according to local time.
277 Date.prototype.setMonth() Date, JavaScript, Method, Prototype, Reference
The setMonth() method sets the month for a specified date according to the currently set year.
278 Date.prototype.setSeconds() Date, JavaScript, Method, Prototype, Reference
The setSeconds() method sets the seconds for a specified date according to local time.
279 Date.prototype.setTime() Date, JavaScript, Method, Prototype, Reference
The setTime() method sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.
280 Date.prototype.setUTCDate() Date, JavaScript, Method, Prototype, Reference
The setUTCDate() method sets the day of the month for a specified date according to universal time.
281 Date.prototype.setUTCFullYear() Date, JavaScript, Method, Prototype, Reference
The setUTCFullYear() method sets the full year for a specified date according to universal time.
282 Date.prototype.setUTCHours() Date, JavaScript, Method, Prototype, Reference
The setUTCHours() method sets the hour for a specified date according to universal time, and returns the number of milliseconds since 1 January 1970 00:00:00 UTC until the time represented by the updated Date instance.
283 Date.prototype.setUTCMilliseconds() Date, JavaScript, Method, Prototype, Reference
The setUTCMilliseconds() method sets the milliseconds for a specified date according to universal time.
284 Date.prototype.setUTCMinutes() Date, JavaScript, Method, Prototype, Reference
The setUTCMinutes() method sets the minutes for a specified date according to universal time.
285 Date.prototype.setUTCMonth() Date, JavaScript, Method, Prototype, Reference
The setUTCMonth() method sets the month for a specified date according to universal time.
286 Date.prototype.setUTCSeconds() Date, JavaScript, Method, Prototype, Reference
The setUTCSeconds() method sets the seconds for a specified date according to universal time.
287 Date.prototype.setYear() Date, Deprecated, JavaScript, Method, Prototype, Reference
The setYear() method sets the year for a specified date according to local time. Because setYear() does not set full years ("year 2000 problem"), it is no longer used and has been replaced by the setFullYear() method.
288 Date.prototype.toDateString() Date, JavaScript, Method, Prototype, Reference
The toDateString() method returns the date portion of a Date object in human readable form in American English.
289 Date.prototype.toGMTString() Date, Deprecated, JavaScript, Method, Prototype, Reference
The toGMTString() method converts a date to a string, using Internet Greenwich Mean Time (GMT) conventions. The exact format of the value returned by toGMTString() varies according to the platform and browser, in general it should represent a human readable date string.
290 Date.prototype.toISOString() Date, JavaScript, Method, Prototype, Reference, polyfill
The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always zero UTC offset, as denoted by the suffix "Z".
291 Date.prototype.toJSON() Date, JavaScript, Method, Prototype, Reference
The toJSON() method returns a string representation of the Date object.
292 Date.prototype.toLocaleDateString() Date, IANA Timezone Format, Internationalization, JavaScript, Method, Prototype, Reference
The toLocaleDateString() method returns a string with a language sensitive representation of the date portion of this date. The new locales and options arguments let applications specify the language whose formatting conventions should be used and allow to customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale used and the form of the string returned are entirely implementation dependent.
293 Date.prototype.toLocaleFormat() Date, JavaScript, Method, Prototype, Reference
The non-standard toLocaleFormat() method converts a date to a string using the specified formatting. Intl.DateTimeFormat is an alternative to format dates in a standards-compliant way. See also the newer version of Date.prototype.toLocaleDateString().
294 Date.prototype.toLocaleString() Date, Internationalization, JavaScript, Method, Prototype, Reference
The toLocaleString() method returns a string with a language sensitive representation of this date. The new locales and options arguments let applications specify the language whose formatting conventions should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale used and the form of the string returned are entirely implementation dependent.
295 Date.prototype.toLocaleTimeString() Date, Internationalization, JavaScript, Method, Prototype, Reference
The toLocaleTimeString() method returns a string with a language sensitive representation of the time portion of this date. The new locales and options arguments let applications specify the language whose formatting conventions should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale used and the form of the string returned are entirely implementation dependent.
296 Date.prototype.toSource() Date, JavaScript, Method, Prototype, Reference
The toSource() method returns a string representing the source code of the object.
297 Date.prototype.toString() Date, JavaScript, Method, Prototype, Reference
The toString() method returns a string representing the specified Date object.
298 Date.prototype.toTimeString() Date, JavaScript, Method, Prototype, Reference
The toTimeString() method returns the time portion of a Date object in human readable form in American English.
299 Date.prototype.toUTCString() Date, JavaScript, Method, Prototype, Reference
The toUTCString() method converts a date to a string, using the UTC time zone.
300 Date.prototype.valueOf() Date, JavaScript, Method, Prototype, Reference
The valueOf() method returns the primitive value of a Date object.
301 Date.prototype[@@toPrimitive] Date, JavaScript, Method, Prototype, Reference
The [@@toPrimitive]() method converts a Date object to a primitive value.
302 Error Error, JavaScript, Reference
The Error constructor creates an error object. Instances of Error objects are thrown when runtime errors occur. The Error object can also be used as a base object for user-defined exceptions. See below for standard built-in error types.
303 Error.prototype Error, JavaScript, Property
The Error.prototype property represents the prototype for the Error constructor.
304 Error.prototype.columnNumber Error, JavaScript, Property, Prototype
The columnNumber property contains the column number in the line of the file that raised this error.
305 Error.prototype.fileName Error, JavaScript, Property, Prototype
The fileName property contains the path to the file that raised this error.
306 Error.prototype.lineNumber Error, JavaScript, Property, Prototype, Reference
The lineNumber property contains the line number in the file that raised this error.
307 Error.prototype.message Error, JavaScript, Property, Prototype
The message property is a human-readable description of the error.
308 Error.prototype.name Error, JavaScript, Property, Prototype
The name property represents a name for the type of error. The initial value is "Error".
309 Error.prototype.stack Error, JavaScript, Property, Prototype, Reference
The non-standard stack property of Error objects offer a trace of which functions were called, in what order, from which line and file, and with what arguments. The stack string proceeds from the most recent calls to earlier ones, leading back to the original global scope call.
310 Error.prototype.toSource() Error, JavaScript, Method, Prototype
The toSource() method returns code that could eval to the same error.
311 Error.prototype.toString() Error, JavaScript, Method, Prototype
The toString() method returns a string representing the specified Error object.
312 EvalError Error, EvalError, JavaScript, Reference
The EvalError object indicates an error regarding the global eval() function. This exception is not thrown by JavaScript anymore, however the EvalError object remains for compatibility.
313 EvalError.prototype Error, EvalError, JavaScript, Property
The EvalError.prototype property represents the prototype of the EvalError constructor.
314 Float32Array Constructor, JavaScript, TypedArray, TypedArrays
The Float32Array typed array represents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
315 Float64Array Constructor, JavaScript, TypedArray, TypedArrays
The Float64Array typed array represents an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
316 Function Constructor, Function, JavaScript
The Function constructor creates a new Function object. In JavaScript every function is actually a Function object.
317 Function.arguments Deprecated, Function, JavaScript, Property, arguments
The function.arguments property refers to an an array-like object corresponding to the arguments passed to a function. Use the simple variable arguments instead.
318 Function.arity Function, JavaScript, Obsolete, Property, Unimplemented
The arity property used to return the number of arguments expected by the function, however, it no longer exists and has been replaced by the Function.prototype.length property.
319 Function.caller Function, JavaScript, Property
The function.caller property returns the function that invoked the specified function.
320 Function.displayName Function, JavaScript, Property
The function.displayName property returns the display name of the function.
321 Function.length Function, JavaScript, Property
The length property specifies the number of arguments expected by the function.
322 Function.name ECMAScript 2015, Function, JavaScript, Property
The function.name property returns the name of the function.
323 Function.prototype Function, JavaScript, Property, Prototype
The Function.prototype property represents the Function prototype object.
324 Function.prototype.apply() Function, JavaScript, Method
The apply() method calls a function with a given this value, and arguments provided as an array (or an array-like object).
325 Function.prototype.bind() Class, ECMAScript 2015, ECMAScript 5, Function, JavaScript, Method, bind, polyfill
The bind() method creates a new function that, when called, has its this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.
326 Function.prototype.call() Function, JavaScript, Method
The call() method calls a function with a given this value and arguments provided individually.
327 Function.prototype.isGenerator() Function, JavaScript, Method
The isGenerator() method determines whether or not a function is a generator.
328 Function.prototype.toSource() Function, JavaScript, Method
The toSource() method returns a string representing the source code of the object.
329 Function.prototype.toString() Function, JavaScript, Method, Prototype
The toString() method returns a string representing the source code of the function.
330 Generator ECMAScript 2015, Generator, JavaScript, Legacy Generator, Legacy Iterator, Reference
The Generator object is returned by a generator function and it conforms to both the iterable protocol and the iterator protocol.
331 Generator.prototype.next() ECMAScript 2015, Generator, JavaScript, Method, Prototype, Reference
The next() method returns an object with two properties done and value. You can also provide a parameter to the next method to send a value to the generator.
332 Generator.prototype.return() ECMAScript 2015, Generator, JavaScript, Method, Prototype, Reference
The return() method returns the given value and finishes the generator.
333 Generator.prototype.throw() ECMAScript 2015, Generator, JavaScript, Method, Prototype, Reference
The throw() method resumes the execution of a generator by throwing an error into it and returns an object with two properties done and value.
334 GeneratorFunction Constructor, ECMAScript 2015, GeneratorFunction, Iterator, JavaScript, Reference
The GeneratorFunction constructor creates a new generator function object. In JavaScript every generator function is actually a GeneratorFunction object.
335 GeneratorFunction.prototype ECMAScript 2015, GeneratorFunction, Iterator, JavaScript, Property, Prototype, Reference
The GeneratorFunction.prototype property represents the GeneratorFunction prototype object.
336 Infinity JavaScript
The global Infinity property is a numeric value representing infinity.
337 Int16Array Constructor, JavaScript, TypedArray, TypedArrays
The Int16Array typed array represents an array of twos-complement 16-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
338 Int32Array Constructor, JavaScript, TypedArray, TypedArrays
The Int32Array typed array represents an array of twos-complement 32-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
339 Int8Array Constructor, Int8Array, JavaScript, TypedArray, TypedArrays
The Int8Array typed array represents an array of twos-complement 8-bit signed integers. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
340 InternalError Error, InternalError, JavaScript
The InternalError object indicates an error that occurred internally in the JavaScript engine. For example: "InternalError: too much recursion".
341 InternalError.prototype Error, InternalError, JavaScript, Property
The InternalError.prototype property represents the prototype of the InternalError constructor.
342 Intl Internationalization, JavaScript
The Intl object is the namespace for the ECMAScript Internationalization API, which provides language sensitive string comparison, number formatting, and date and time formatting. The constructors for Collator, NumberFormat, and DateTimeFormat objects are properties of the Intl object. This page documents these properties as well as functionality common to the internationalization constructors and other language sensitive functions.
343 Intl.getCanonicalLocales() Internationalization, Intl, JavaScript, Method
The Intl.getCanonicalLocales() method returns an array containing the canonical locale names. Duplicates will be omitted and elements will be validated as structurally valid language tags.
344 Intl.Collator Collator, Internationalization, JavaScript
The Intl.Collator object is a constructor for collators, objects that enable language sensitive string comparison.
345 Intl.Collator.prototype Collator, Internationalization, JavaScript, Property, Prototype
The Intl.Collator.prototype property represents the prototype object for the Intl.Collator constructor.
346 Intl.Collator.prototype.compare Collator, Internationalization, JavaScript, Property, Prototype
The Intl.Collator.prototype.compare property returns a getter function that compares two strings according to the sort order of this Collator object.
347 Intl.Collator.prototype.resolvedOptions() Collator, Internationalization, JavaScript, Method, Prototype
The Intl.Collator.prototype.resolvedOptions() method returns a new object with properties reflecting the locale and collation options computed during initialization of this Collator object.
348 Intl.Collator.supportedLocalesOf() Collator, Internationalization, JavaScript, Method
The Intl.Collator.supportedLocalesOf() method returns an array containing those of the provided locales that are supported in collation without having to fall back to the runtime's default locale.
349 Intl.DateTimeFormat DateTimeFormat, Internationalization, JavaScript
The Intl.DateTimeFormat object is a constructor for objects that enable language sensitive date and time formatting.
350 Intl.DateTimeFormat.prototype DateTimeFormat, Internationalization, JavaScript, Property, Prototype
The Intl.DateTimeFormat.prototype property represents the prototype object for the Intl.DateTimeFormat constructor.
351 Intl.DateTimeFormat.prototype.format DateTimeFormat, Internationalization, JavaScript, Property, Prototype
The Intl.DateTimeFormat.prototype.format property returns a getter function that formats a date according to the locale and formatting options of this Intl.DateTimeFormat object.
352 Intl.DateTimeFormat.prototype.formatToParts() DateTimeFormat, Internationalization, Intl, JavaScript, Method, Prototype
The Intl.DateTimeFormat.prototype.formatToParts() method allows locale-aware formatting of strings produced by DateTimeFormat formatters.
353 Intl.DateTimeFormat.prototype.resolvedOptions() DateTimeFormat, Internationalization, JavaScript, Method, Prototype
The Intl.DateTimeFormat.prototype.resolvedOptions() method returns a new object with properties reflecting the locale and date and time formatting options computed during initialization of this DateTimeFormat object.
354 Intl.DateTimeFormat.supportedLocalesOf() DateTimeFormat, Internationalization, JavaScript, Method, Prototype
The Intl.DateTimeFormat.supportedLocalesOf() method returns an array containing those of the provided locales that are supported in date and time formatting without having to fall back to the runtime's default locale.
355 Intl.NumberFormat Internationalization, JavaScript, NumberFormat
The Intl.NumberFormat object is a constructor for objects that enable language sensitive number formatting.
356 Intl.NumberFormat.prototype Internationalization, JavaScript, NumberFormat, Property, Prototype
The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor.
357 Intl.NumberFormat.prototype.format Internationalization, JavaScript, NumberFormat, Property, Prototype
The Intl.NumberFormat.prototype.format property returns a getter function that formats a number according to the locale and formatting options of this NumberFormat object.
358 Intl.NumberFormat.prototype.resolvedOptions() Internationalization, JavaScript, Method, NumberFormat, Prototype
The Intl.NumberFormat.prototype.resolvedOptions() method returns a new object with properties reflecting the locale and number formatting options computed during initialization of this NumberFormat object.
359 Intl.NumberFormat.supportedLocalesOf() Internationalization, JavaScript, Method, NumberFormat
The Intl.NumberFormat.supportedLocalesOf() method returns an array containing those of the provided locales that are supported in number formatting without having to fall back to the runtime's default locale.
360 Iterator Deprecated, JavaScript, Legacy Iterator, Reference
The Iterator function returns an object which implements legacy iterator protocol and iterates over enumerable properties of an object.
361 JSON JSON, JavaScript, Object, Reference, Référence, polyfill
The JSON object contains methods for parsing JavaScript Object Notation (JSON) and converting values to JSON. It can't be called or constructed, and aside from its two method properties it has no interesting functionality of its own.
362 JSON.parse() ECMAScript 5, JSON, JavaScript, Method, Reference
The JSON.parse() method parses a JSON string, constructing the JavaScript value or object described by the string. An optional reviver function can be provided to perform a transformation on the resulting object before it is returned.
363 JSON.stringify() JSON, JavaScript, Method, Reference, stringify
The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer function is specified, or optionally including only the specified properties if a replacer array is specified.
364 Map ECMAScript 2015, JavaScript, Map
The Map object holds key-value pairs.
365 Map.prototype ECMAScript 2015, JavaScript, Map, Property
The Map.prototype property represents the prototype for the Map constructor.
366 Map.prototype.clear() ECMAScript 2015, JavaScript, Map, Method, Prototype
The clear() method removes all elements from a Map object.
367 Map.prototype.delete() ECMAScript 2015, JavaScript, Map, Method, Prototype
The delete() method removes the specified element from a Map object.
368 Map.prototype.entries() ECMAScript 2015, Iterator, JavaScript, Map, Method, Prototype
The entries() method returns a new Iterator object that contains the [key, value] pairs for each element in the Map object in insertion order.
369 Map.prototype.forEach() ECMAScript 2015, JavaScript, Map, Method, Prototype
The forEach() method executes a provided function once per each key/value pair in the Map object, in insertion order.
370 Map.prototype.get() ECMAScript 2015, JavaScript, Map, Method, Prototype
The get() method returns a specified element from a Map object.
371 Map.prototype.has() ECMAScript 2015, JavaScript, Map, Method, Prototype
The has() method returns a boolean indicating whether an element with the specified key exists or not.
372 Map.prototype.keys() ECMAScript 2015, Iterator, JavaScript, Map, Method, Prototype
The keys() method returns a new Iterator object that contains the keys for each element in the Map object in insertion order.
373 Map.prototype.set() ECMAScript 2015, JavaScript, Map, Method, Prototype
The set() method adds or updates an element with a specified key and value to a Map object.
374 Map.prototype.size ECMAScript 2015, JavaScript, Map, Property
The size accessor property returns the number of elements in a Map object.
375 Map.prototype.values() ECMAScript 2015, Iterator, JavaScript, Map, Method, Prototype
The values() method returns a new Iterator object that contains the values for each element in the Map object in insertion order.
376 Map.prototype[@@iterator]() ECMAScript 2015, Iterator, JavaScript, Map, Method, Prototype, Reference
The initial value of the @@iterator property is the same function object as the initial value of the entries property.
377 Map.prototype[@@toStringTag] ECMAScript 2015, JavaScript, Map, Property, Prototype, Reference
The Map[@@toStringTag] property has an initial value of "Map".
378 get Map[@@species] ECMAScript 2015, JavaScript, Map, Property
The Map[@@species] accessor property returns the Map constructor.
379 Math JavaScript, Math, Reference
Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object.
380 Math.E JavaScript, Math, Property, Reference
The Math.E property represents the base of natural logarithms, e, approximately 2.718.
381 Math.LN10 JavaScript, Math, Property, Reference
The Math.LN10 property represents the natural logarithm of 10, approximately 2.302:
382 Math.LN2 JavaScript, Math, Property, Reference
The Math.LN2 property represents the natural logarithm of 2, approximately 0.693:
383 Math.LOG10E JavaScript, Math, Property, Reference
The Math.LOG10E property represents the base 10 logarithm of e, approximately 0.434:
384 Math.LOG2E JavaScript, Math, Property, Reference
The Math.LOG2E property represents the base 2 logarithm of e, approximately 1.442:
385 Math.PI JavaScript, Math, Property, Reference
The Math.PI property represents the ratio of the circumference of a circle to its diameter, approximately 3.14159:
386 Math.SQRT1_2 JavaScript, Math, Property, Reference
The Math.SQRT1_2 property represents the square root of 1/2 which is approximately 0.707:
387 Math.SQRT2 JavaScript, Math, Property, Reference
The Math.SQRT2 property represents the square root of 2, approximately 1.414:
388 Math.abs() JavaScript, Math, Method, Reference
The Math.abs() function returns the absolute value of a number, that is
389 Math.acos() JavaScript, Math, Method, Reference
The Math.acos() function returns the arccosine (in radians) of a number, that is
390 Math.acosh() JavaScript, Math, Method, Reference
The Math.acosh() function returns the hyperbolic arc-cosine of a number, that is
391 Math.asin() JavaScript, Math, Method, Reference
The Math.asin() function returns the arcsine (in radians) of a number, that is
392 Math.asinh() JavaScript, Math, Method, Reference
The Math.asinh() function returns the hyperbolic arcsine of a number, that is
393 Math.atan() JavaScript, Math, Method, Reference
The Math.atan() function returns the arctangent (in radians) of a number, that is
394 Math.atan2() JavaScript, Math, Method, Reference
The Math.atan2() function returns the arctangent of the quotient of its arguments.
395 Math.atanh() JavaScript, Math, Method, Reference
The Math.atanh() function returns the hyperbolic arctangent of a number, that is
396 Math.cbrt() JavaScript, Math, Method, Reference
The Math.cbrt() function returns the cube root of a number, that is
397 Math.ceil() JavaScript, Math, Method, Reference
The Math.ceil() function returns the smallest integer greater than or equal to a given number.
398 Math.clz32() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.clz32() function returns the number of leading zero bits in the 32-bit binary representation of a number.
399 Math.cos() JavaScript, Math, Method, Reference
The Math.cos() function returns the cosine of a number.
400 Math.cosh() JavaScript, Math, Method, Reference
The Math.cosh() function returns the hyperbolic cosine of a number, that can be expressed using the constant e:
401 Math.exp() JavaScript, Math, Method, Reference
The Math.exp() function returns ex, where x is the argument, and e is Euler's number (also known as Napier's constant), the base of the natural logarithms.
402 Math.expm1() JavaScript, Math, Method, Reference
The Math.expm1() function returns ex - 1, where x is the argument, and e the base of the natural logarithms.
403 Math.floor() JavaScript, Math, Method, Reference
The Math.floor() function returns the largest integer less than or equal to a given number.
404 Math.fround() JavaScript, Math, Method, Reference
The Math.fround() function returns the nearest single precision float representation of a number.
405 Math.hypot() JavaScript, Math, Method, Reference
The Math.hypot() function returns the square root of the sum of squares of its arguments, that is
406 Math.imul() JavaScript, Math, Method, Reference
The Math.imul() function returns the result of the C-like 32-bit multiplication of the two parameters.
407 Math.log() JavaScript, Math, Method, Reference
The Math.log() function returns the natural logarithm (base e) of a number, that is
408 Math.log10() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log10() function returns the base 10 logarithm of a number, that is
409 Math.log1p() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log1p() function returns the natural logarithm (base e) of 1 + a number, that is
410 Math.log2() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log2() function returns the base 2 logarithm of a number, that is
411 Math.max() JavaScript, Math, Method, Reference
The Math.max() function returns the largest of zero or more numbers.
412 Math.min() JavaScript, Math, Method, Reference
The Math.min() function returns the smallest of zero or more numbers.
413 Math.pow() JavaScript, Math, Method, Reference
The Math.pow() function returns the base to the exponent power, that is, baseexponent.
414 Math.random() JavaScript, Math, Method, Reference
The Math.random() function returns a floating-point, pseudo-random number in the range [0, 1); that is, from 0 (inclusive) up to but not including 1 (exclusive), which you can then scale to your desired range. The implementation selects the initial seed to the random number generation algorithm; it cannot be chosen or reset by the user.
415 Math.round() JavaScript, Math, Method, Reference
The Math.round() function returns the value of a number rounded to the nearest integer.
416 Math.sign() JavaScript, Math, Method, Reference
The Math.sign() function returns the sign of a number, indicating whether the number is positive, negative or zero.
417 Math.sin() JavaScript, Math, Method, Reference
The Math.sin() function returns the sine of a number.
418 Math.sinh() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.sinh() function returns the hyperbolic sine of a number, that can be expressed using the constant e:
419 Math.sqrt() JavaScript, Math, Method, Reference
The Math.sqrt() function returns the square root of a number, that is
420 Math.tan() JavaScript, Math, Method, Reference
The Math.tan() function returns the tangent of a number.
421 Math.tanh() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.tanh() function returns the hyperbolic tangent of a number, that is
422 Math.trunc() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.trunc() function returns the integer part of a number by removing any fractional digits.
423 NaN JavaScript, Property
The global NaN property is a value representing Not-A-Number.
424 Number JavaScript, Number, Reference
The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor.
425 Number.EPSILON ECMAScript 2015, JavaScript, Number, Property
The Number.EPSILON property represents the smallest positive value, ε, that satisfy the equation ε = ωε, where ω is the smallest infinite ordinal.
426 Number.MAX_SAFE_INTEGER ECMAScript 2015, JavaScript, Number, Property
The Number.MAX_SAFE_INTEGER constant represents the maximum safe integer in JavaScript (253 - 1).
427 Number.MAX_VALUE JavaScript, Number, Property
The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.
428 Number.MIN_SAFE_INTEGER ECMAScript 2015, JavaScript, Number, Property
The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(253 - 1)).
429 Number.MIN_VALUE JavaScript, Number, Property
The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript.
430 Number.NEGATIVE_INFINITY JavaScript, Number, Property
The Number.NEGATIVE_INFINITY property represents the negative Infinity value.
431 Number.NaN JavaScript, Number, Property
The Number.NaN property represents Not-A-Number. Equivalent of NaN.
432 Number.POSITIVE_INFINITY JavaScript, Number, Property
The Number.POSITIVE_INFINITY property represents the positive Infinity value.
433 Number.isFinite() JavaScript, Method, Number, Reference
The Number.isFinite() method determines whether the passed value is a finite number.
434 Number.isInteger() JavaScript, Method, Number, Reference
The Number.isInteger() method determines whether the passed value is an integer.
435 Number.isNaN() ECMAScript 2015, JavaScript, Method, Number
The Number.isNaN() method determines whether the passed value is NaN and its type is Number. It is a more robust version of the original, global isNaN().
436 Number.isSafeInteger() ECMAScript 2015, JavaScript, Method, Number
The Number.isSafeInteger() method determines whether the provided value is a number that is a safe integer. A safe integer is an integer that
437 Number.parseFloat() ECMAScript 2015, JavaScript, Method, Number
The Number.parseFloat() method parses a string argument and returns a floating point number. This method behaves identically to the global function parseFloat() and is part of ECMAScript 2015 (its purpose is modularization of globals).
438 Number.parseInt() ECMAScript 2015, JavaScript, Method, Number
The Number.parseInt() method parses a string argument and returns an integer of the specified radix or base.
439 Number.prototype JavaScript, Number, Property, Prototype
The Number.prototype property represents the prototype for the Number constructor.
440 Number.prototype.toExponential() JavaScript, Method, Number, Prototype
The toExponential() method returns a string representing the Number object in exponential notation.
441 Number.prototype.toFixed() JavaScript, Method, Number, Prototype
The toFixed() method formats a number using fixed-point notation.
442 Number.prototype.toLocaleString() Internationalization, JavaScript, Method, Number, Prototype
The toLocaleString() method returns a string with a language sensitive representation of this number.
443 Number.prototype.toPrecision() JavaScript, Method, Number, Prototype
The toPrecision() method returns a string representing the Number object to the specified precision.
444 Number.prototype.toSource() JavaScript, Method, Number, Prototype
The toSource() method returns a string representing the source code of the object.
445 Number.prototype.toString() JavaScript, Method, Number, Prototype
The toString() method returns a string representing the specified Number object.
446 Number.prototype.valueOf() JavaScript, Method, Number, Prototype
The valueOf() method returns the wrapped primitive value of a Number object.
447 Number.toInteger() JavaScript, Method, Number, Obsolete
The Number.toInteger() method used to evaluate the passed value and convert it to an integer, but its implementation has been removed.
448 Object Constructor, JavaScript, Object
The Object constructor creates an object wrapper.
449 Object.assign() ECMAScript 2015, JavaScript, Method, Object, Reference, polyfill
The Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object.
450 Object.create() ECMAScript 5, JavaScript, Method, Object, Reference, polyfill
The Object.create() method creates a new object with the specified prototype object and properties.
451 Object.defineProperties() ECMAScript 5, JavaScript, Method, Object
The Object.defineProperties() method defines new or modifies existing properties directly on an object, returning the object.
452 Object.defineProperty() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.defineProperty() method defines a new property directly on an object, or modifies an existing property on an object, and returns the object.
453 Additional examples for Object.defineProperty Examples, JavaScript, Object
This page provides additional examples for Object.defineProperty().
454 Object.entries() Experimental, JavaScript, Method, Object, Reference
The Object.entries() method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
455 Object.freeze() ECMAScript 5, JavaScript, Method, Object
The Object.freeze() method freezes an object: that is, prevents new properties from being added to it; prevents existing properties from being removed; and prevents existing properties, or their enumerability, configurability, or writability, from being changed.  The method returns the object in a frozen state.
456 Object.getNotifier() JavaScript, Method, Object, Obsolete
The Object.getNotifer() method was used to create an object that allows to synthetically trigger a change, but has been deprecated and removed in browsers.
457 Object.getOwnPropertyDescriptor() ECMAScript 5, JavaScript, Method, Object
The Object.getOwnPropertyDescriptor() method returns a property descriptor for an own property (that is, one directly present on an object and not in the object's prototype chain) of a given object.
458 Object.getOwnPropertyDescriptors() Experimental, JavaScript, Method, Object
The Object.getOwnPropertyDescriptors() method returns all own property descriptors of a given object.
459 Object.getOwnPropertyNames() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object, Reference
The Object.getOwnPropertyNames() method returns an array of all properties (enumerable or not) found directly upon a given object.
460 Object.getOwnPropertySymbols() ECMAScript 2015, JavaScript, Method, Object
The Object.getOwnPropertySymbols() method returns an array of all symbol properties found directly upon a given object.
461 Object.getPrototypeOf() ECMAScript 5, JavaScript, Method, Object
The Object.getPrototypeOf() method returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.
462 Object.is() Comparison, Condition, Conditional, ECMAScript 2015, Equality, JavaScript, Method, Object
The Object.is() method determines whether two values are the same value.
463 Object.isExtensible() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.isExtensible() method determines if an object is extensible (whether it can have new properties added to it).
464 Object.isFrozen() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.isFrozen() determines if an object is frozen.
465 Object.isSealed() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.isSealed() method determines if an object is sealed.
466 Object.keys() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.keys() method returns an array of a given object's own enumerable properties, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
467 Object.observe() JavaScript, Method, Object, Obsolete
The Object.observe() method was used for asynchronously observing the changes to an object. It provided a stream of changes in the order in which they occur. However, this API has been deprecated and removed from browsers. You can use the more general Proxy object instead.
468 Object.preventExtensions() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.preventExtensions() method prevents new properties from ever being added to an object (i.e. prevents future extensions to the object).
469 Object.prototype JavaScript, Object, Property
The Object.prototype property represents the Object prototype object.
470 Object.prototype.__count__ JavaScript, Object, Obsolete, Property, Prototype
The __count__ property used to store the count of enumerable properties on the object, but it has been removed.
471 Object.prototype.__defineGetter__() Deprecated, JavaScript, Method, Object, Prototype
The __defineGetter__ method binds an object's property to a function to be called when that property is looked up.
472 Object.prototype.__defineSetter__() Deprecated, JavaScript, Method, Object, Prototype
The __defineSetter__ method binds an object's property to a function to be called when an attempt is made to set that property.
473 Object.prototype.__lookupGetter__() Deprecated, JavaScript, Method, Object, Prototype
The __lookupGetter__ method returns the function bound as a getter to the specified property.
474 Object.prototype.__lookupSetter__() Deprecated, JavaScript, Method, Object, Prototype
The __lookupSetter__ method returns the function bound as a setter to the specified property.
475 Object.prototype.__noSuchMethod__ JavaScript, Object, Obsolete, Property, Prototype
The __noSuchMethod__ property used to reference a function to be executed when a non-existent method is called on an object, but this function is no longer available.
476 Object.prototype.__parent__ JavaScript, Object, Obsolete, Property, Prototype
The __parent__ property used to point to an object's context, but it has been removed.
477 Object.prototype.__proto__ ECMAScript 2015, JavaScript, Object, Property, Prototype, Reference
The __proto__ property of Object.prototype is an accessor property (a getter function and a setter function) that exposes the internal [[Prototype]] (either an object or null) of the object through which it is accessed.
478 Object.prototype.constructor JavaScript, Object, Property, Prototype
Returns a reference to the Object constructor function that created the instance object. Note that the value of this property is a reference to the function itself, not a string containing the function's name. The value is only read-only for primitive values such as 1true and "test".
479 Object.prototype.eval() JavaScript, Method, Object, Obsolete
The Object.eval() method used to evaluate a string of JavaScript code in the context of an object, however, this method has been removed.
480 Object.prototype.hasOwnProperty() JavaScript, Method, Object, Prototype
The hasOwnProperty() method returns a boolean indicating whether the object has the specified property as own (not inherited) property.
481 Object.prototype.isPrototypeOf() JavaScript, Method, Object, Prototype, Reference, isPrototype
The isPrototypeOf() method checks if an object exists in another object's prototype chain.
482 Object.prototype.propertyIsEnumerable() JavaScript, Method, Object, Prototype
The propertyIsEnumerable() method returns a Boolean indicating whether the specified property is enumerable.
483 Object.prototype.toLocaleString() JavaScript, Method, Object, Prototype
The toLocaleString() method returns a string representing the object. This method is meant to be overridden by derived objects for locale-specific purposes.
484 Object.prototype.toSource() JavaScript, Method, Object, Prototype
The toSource() method returns a string representing the source code of the object.
485 Object.prototype.toString() JavaScript, Method, Object, Prototype
The toString() method returns a string representing the object.
486 Object.prototype.unwatch() JavaScript, Method, Object, Prototype, Reference
The unwatch() method removes a watchpoint set with the watch() method.
487 Object.prototype.valueOf() JavaScript, Method, Object, Prototype
The valueOf() method returns the primitive value of the specified object.
488 Object.prototype.watch() JavaScript, Method, Object, Prototype
The watch() method watches for a property to be assigned a value and runs a function when that occurs.
489 Object.seal() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.seal() method seals an object, preventing new properties from being added to it and marking all existing properties as non-configurable. Values of present properties can still be changed as long as they are writable.
490 Object.setPrototypeOf() ECMAScript 2015, JavaScript, Method, Object, Prototype
The Object.setPrototypeOf() method sets the prototype (i.e., the internal [[Prototype]] property) of a specified object to another object or null.
491 Object.unobserve() JavaScript, Method, Object, Obsolete
The Object.unobserve() method was used to remove observers set by Object.observe(), but has been deprecated and removed from Browsers. You can use the more general Proxy object instead.
492 Object.values() Experimental, JavaScript, Method, Object, Reference
The Object.values() method returns an array of a given object's own enumerable property values, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).
493 ParallelArray JavaScript, Obsolete, ParallelArray
The goal of ParallelArray was to enable data-parallelism in web applications. The higher-order functions available on ParallelArray attempted to execute in parallel, though they may fall back to sequential execution if necessary. To ensure that your code executes in parallel, it is suggested that the functions should be limited to the parallelizable subset of JS that Firefox supports.
494 Promise ECMAScript 2015, JavaScript, Promise
The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value.
495 Promise.all() ECMAScript 2015, JavaScript, Method, Promise
The Promise.all() method returns a single Promise that resolves when all of the promises in the iterable argument have resolved or when the iterable argument contains no promises. It rejects with the reason of the first promise that rejects.
496 Promise.prototype JavaScript, Promise, Property
The Promise.prototype property represents the prototype for the Promise constructor.
497 Promise.prototype.catch() ECMAScript 2015, JavaScript, Method, Promise, Prototype
The catch() method returns a Promise and deals with rejected cases only. It behaves the same as calling Promise.prototype.then(undefined, onRejected) (in fact, calling obj.catch(onRejected) internally calls obj.then(undefined, onRejected)).
498 Promise.prototype.then() ECMAScript 2015, JavaScript, Method, Promise, Prototype
The then() method returns a Promise. It takes up to two arguments: callback functions for the success and failure cases of the Promise.
499 Promise.race() ECMAScript 2015, JavaScript, Method, Promise
The Promise.race(iterable) method returns a promise that resolves or rejects as soon as one of the promises in the iterable resolves or rejects, with the value or reason from that promise.
500 Promise.reject() ECMAScript 2015, JavaScript, Method, Promise
The Promise.reject(reason) method returns a Promise object that is rejected with the given reason.
501 Promise.resolve() ECMAScript 2015, JavaScript, Method, Promise
The Promise.resolve(value) method returns a Promise object that is resolved with the given value. If the value is a thenable (i.e. has a "then" method), the returned promise will "follow" that thenable, adopting its eventual state; if the value was a promise, that object becomes the result of the call to Promise.resolve; otherwise the returned promise will be fulfilled with the value.
502 Proxy ECMAScript 2015, JavaScript, Proxy
The Proxy object is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).
503 Proxy handler ECMAScript 2015, JavaScript, Proxy
The proxy's handler object is a placeholder object which contains traps for proxies.
504 handler.apply() ECMAScript 2015, JavaScript, Method, Proxy
The handler.apply() method is a trap for a function call.
505 handler.construct() ECMAScript 2015, JavaScript, Method, Proxy
The handler.construct() method is a trap for the new operator. In order for the new operation to be valid on the resulting Proxy object, the target used to initialize the proxy must itself have a [[Construct]] internal method (i.e. new target must be valid).
506 handler.defineProperty() ECMAScript 2015, JavaScript, Method, Proxy
The handler.defineProperty() method is a trap for Object.defineProperty().
507 handler.deleteProperty() ECMAScript 2015, JavaScript, Method, Proxy
The handler.deleteProperty() method is a trap for the delete operator.
508 handler.enumerate() ECMAScript 2015, JavaScript, Method, Obsolete, Proxy
The handler.enumerate() method used to be a trap for for...in statements, but has been removed from the ECMAScript standard in ES2016 and is deprecated in browsers.
509 handler.get() ECMAScript 2015, JavaScript, Method, Proxy
The handler.get() method is a trap for getting a property value.
510 handler.getOwnPropertyDescriptor() ECMAScript 2015, JavaScript, Method, Proxy
The handler.getOwnPropertyDescriptor() method is a trap for Object.getOwnPropertyDescriptor().
511 handler.getPrototypeOf() ECMAScript 2015, JavaScript, Method, Proxy
The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] internal method.
512 handler.has() ECMAScript 2015, JavaScript, Method, Proxy
The handler.has() method is a trap for the in operator.
513 handler.isExtensible() ECMAScript 2015, JavaScript, Method, Proxy
The handler.isExtensible() method is a trap for Object.isExtensible().
514 handler.ownKeys() ECMAScript 2015, JavaScript, Method, Proxy
The handler.ownKeys() method is a trap for Reflect.ownKeys().
515 handler.preventExtensions() ECMAScript 2015, JavaScript, Method, Proxy
The handler.preventExtensions() method is a trap for Object.preventExtensions().
516 handler.set() ECMAScript 2015, JavaScript, Method, Proxy
The handler.set() method is a trap for setting a property value.
517 handler.setPrototypeOf() ECMAScript 2015, JavaScript, Method, Prototype, Proxy
The handler.setPrototypeOf() method is a trap for Object.setPrototypeOf().
518 Proxy.revocable() ECMAScript 2015, JavaScript, Method, Proxy
The Proxy.revocable() method is used to create a revocable Proxy object.
519 RangeError Error, JavaScript, Object, RangeError
The RangeError object indicates an error when a value is not in the set or range of allowed values.
520 RangeError.prototype Error, JavaScript, Property, Prototype, RangeError
The RangeError.prototype property represents the prototype the RangeError constructor.
521 ReferenceError Error, JavaScript, Object, Reference, ReferenceError
The ReferenceError object represents an error when a non-existent variable is referenced.
522 ReferenceError.prototype Error, JavaScript, Property, Prototype, ReferenceError, prototype
The ReferenceError.prototype property represents the prototype for the ReferenceError constructor.
523 Reflect ECMAScript 2015, JavaScript, Overview, Reflect
Reflect is a built-in object that provides methods for interceptable JavaScript operations. The methods are the same as those of proxy handlers. Reflect is not a function object, so it's not constructible.
524 Reflect.apply() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.apply() method calls a target function with arguments as specified.
525 Reflect.construct() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.construct() method acts like the new operator as a function. It is equivalent to calling new target(...args).
526 Reflect.defineProperty() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.defineProperty() method is like Object.defineProperty() but returns a Boolean.
527 Reflect.deleteProperty() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.deleteProperty() method allows to delete properties. It is like the delete operator as a function.
528 Reflect.enumerate() ECMAScript 2015, JavaScript, Method, Obsolete, Reflect
The static Reflect.enumerate() method used to return an iterator with the enumerable own and inherited properties of the target object, but has been removed in ECMAScript 2016 and is deprecated in browsers.
529 Reflect.get() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.get() method works like getting a property from an object (target[propertyKey]) as a function.
530 Reflect.getOwnPropertyDescriptor() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.getOwnPropertyDescriptor() method is similar to Object.getOwnPropertyDescriptor(). It returns a property descriptor of the given property if it exists on the object, undefined otherwise.
531 Reflect.getPrototypeOf() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.getPrototypeOf() method is the same method as Object.getPrototypeOf(). It returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object.
532 Reflect.has() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.has() method works like the in operator as a function.
533 Reflect.isExtensible() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.isExtensible() method determines if an object is extensible (whether it can have new properties added to it). It is similar to Object.isExtensible(), but with some differences.
534 Reflect.ownKeys() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.ownKeys() method returns an array of the target object's own property keys.
535 Reflect.preventExtensions() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.preventExtensions() method prevents new properties from ever being added to an object (i.e. prevents future extensions to the object). It is similar to Object.preventExtensions(), but with some differences.
536 Reflect.set() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.set() method works like setting a property on an object.
537 Reflect.setPrototypeOf() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.setPrototypeOf() method is the same method as Object.setPrototypeOf(). It sets the prototype (i.e., the internal [[Prototype]] property) of a specified object to another object or to null.
538 RegExp Constructor, JavaScript, Reference, RegExp, Regular Expressions
The RegExp constructor creates a regular expression object for matching text with a pattern.
539 RegExp.$1-$9 JavaScript, Property, Read-only, Reference, RegExp, Regular Expressions
The non-standard $1, $2, $3, $4, $5, $6, $7, $8, $9 properties are static and read-only properties of regular expressions that contain parenthesized substring matches.
540 RegExp.input ($_) JavaScript, Property, Reference, RegExp, Regular Expressions
The non-standard input property is a static property of regular expressions that contains the string against which a regular expression is matched. RegExp.$_ is an alias for this property.
541 RegExp.lastMatch ($&) JavaScript, Property, Read-only, Reference, RegExp, Regular Expressions
The non-standard lastMatch property is a static and read-only property of regular expressions that contains the last matched characters. RegExp.$& is an alias for this property.
542 RegExp.lastParen ($+) JavaScript, Property, Read-only, Reference, RegExp, Regular Expressions
The non-standard lastParen property is a static and read-only property of regular expressions that contains the last parenthesized substring match, if any. RegExp.$+ is an alias for this property.
543 RegExp.leftContext ($`) JavaScript, Property, Read-only, Reference, RegExp, Regular Expressions
The non-standard leftContext property is a static and read-only property of regular expressions that contains the substring preceding the most recent match. RegExp.$` is an alias for this property.
544 RegExp.prototype JavaScript, Property, Prototype, Reference, RegExp
The RegExp.prototype property represents the prototype object for the RegExp constructor.
545 RegExp.prototype.compile() Deprecated, JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The deprecated compile() method is used to (re-)compile a regular expression during execution of a script. It is basically the same as the RegExp constructor.
546 RegExp.prototype.exec() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The exec() method executes a search for a match in a specified string. Returns a result array, or null.
547 RegExp.prototype.flags ECMAScript 2015, JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The flags property returns a string consisting of the flags of the current regular expression object.
548 RegExp.prototype.global JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The global property indicates whether or not the "g" flag is used with the regular expression. global is a read-only property of an individual regular expression instance.
549 RegExp.prototype.ignoreCase JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The ignoreCase property indicates whether or not the "i" flag is used with the regular expression. ignoreCase is a read-only property of an individual regular expression instance.
550 RegExp.prototype.multiline JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The multiline property indicates whether or not the "m" flag is used with the regular expression. multiline is a read-only property of an individual regular expression instance.
551 RegExp.prototype.source JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The source property returns a String containing the source text of the regexp object, and it doesn't contain the two forward slashes on both sides and any flags.
552 RegExp.prototype.sticky ECMAScript 2015, JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The sticky property reflects whether or not the search is sticky (searches in strings only from the index indicated by the lastIndex property of this regular expression). sticky is a read-only property of an individual regular expression object.
553 RegExp.prototype.test() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The test() method executes a search for a match between a regular expression and a specified string. Returns true or false.
554 RegExp.prototype.toSource() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The toSource() method returns a string representing the source code of the object.
555 RegExp.prototype.toString() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The toString() method returns a string representing the regular expression.
556 RegExp.prototype.unicode ECMAScript 2015, JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The unicode property indicates whether or not the "u" flag is used with a regular expression. unicode is a read-only property of an individual regular expression instance.
557 RegExp.prototype[@@match]() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The [@@match]() method retrieves the matches when matching a string against a regular expression.
558 RegExp.prototype[@@replace]() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The [@@replace]() method replaces some or all matches of a this pattern in a string by a replacement, and returns the result of the replacement as a new string. The replacement can be a string or a function to be called for each match.
559 RegExp.prototype[@@search]() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The [@@search]() method executes a search for a match between a this regular expression and a string.
560 RegExp.prototype[@@split]() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The [@@split]() method splits a String object into an array of strings by separating the string into substrings.
561 RegExp.rightContext ($') JavaScript, Property, Read-only, Reference, RegExp, Regular Expressions
The non-standard rightContext property is a static and read-only property of regular expressions that contains the substring following the most recent match. RegExp.$' is an alias for this property.
562 get RegExp[@@species] JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The RegExp[@@species] accessor property returns the RegExp constructor.
563 regexp.lastIndex JavaScript, Property, Reference, RegExp, Regular Expressions
The lastIndex is a read/write integer property of regular expression instances that specifies the index at which to start the next match.
564 SIMD Experimental, JavaScript, SIMD
SIMD (pronounced "sim-dee") is short for Single Instruction/Multiple Data which is one classification of computer architectures. SIMD operations perform the same computation on multiple data points resulting in data level parallelism and thus performance gains, for example for 3D graphics and video processing, physics simulations or cryptography, and other domains.
565 SIMD.%type%.abs() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.abs() method returns a new SIMD data type with absolute values. This operation exists only on floating point SIMD types.
566 SIMD.%type%.add() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.add() method returns a new instance with the lane values added (a + b).
567 SIMD.%type%.addSaturate() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.addSaturate() method returns a new instance with the lane values added (a + b) and saturating behavior on overflow.
568 SIMD.%type%.allTrue() Experimental, JavaScript, Method, SIMD
The static SIMD.%BooleanType%.allTrue() method returns a Boolean indicating whether or not all lanes hold a true value.
569 SIMD.%type%.and() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.and() method returns a new instance with the logical AND of the lane values (a & b). This operation exists only on integer and boolean SIMD types.
570 SIMD.%type%.anyTrue() Experimental, JavaScript, SIMD
The static SIMD.%BooleanType%.anyTrue() method returns a Boolean indicating whether or not any of the lanes hold a true value.
571 SIMD.%type%.check() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.check() method returns a SIMD data type if the parameter is a valid SIMD data type and the same as %type%. Otherwise, a TypeError is thrown.
572 SIMD.%type%.div() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.div() method returns a new instance with the lane values divided (a / b). This function is defined only on floating point SIMD types.
573 SIMD.%type%.equal() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.equal() method returns a selection mask with values depending on a strict equality comparison (a === b) in each lane.
574 SIMD.%type%.extractLane() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.extractLane() method returns the value of a given lane.
575 SIMD.%type%.fromFloat32x4() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromFloat32x4() method creates a new SIMD data type with a float conversion from a Float32x4.
576 SIMD.%type%.fromFloat32x4Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromFloat32x4Bits() method creates a new SIMD data type with a bit-wise copy from a Float32x4.
577 SIMD.%type%.fromFloat64x2Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromFloat64x2Bits() method creates a new SIMD data type with a bit-wise copy from a Float64x2.
578 SIMD.%type%.fromInt16x8Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromInt16x8Bits() method creates a new SIMD data type with a bit-wise copy from an int16x8.
579 SIMD.%type%.fromInt32x4() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromInt32x4() method creates a new SIMD data type with a float conversion from an Int32x4.
580 SIMD.%type%.fromInt32x4Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromInt32x4Bits() method creates a new SIMD data type with a bit-wise copy from an Int32x4.
581 SIMD.%type%.fromInt8x16Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromInt8x16Bits() method creates a new SIMD data type with a bit-wise copy from an Int8x16.
582 SIMD.%type%.fromUint16x8Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromUint16x8Bits() method creates a new SIMD data type with a bit-wise copy from a Uint16x8.
583 SIMD.%type%.fromUint32x4() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromUint32x4() method creates a new SIMD data type with a conversion from a Uint32x4.
584 SIMD.%type%.fromUint32x4Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromUint32x4Bits() method creates a new SIMD data type with a bit-wise copy from a Uint32x4.
585 SIMD.%type%.fromUint8x16Bits() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.fromUint8x16Bits() method creates a new SIMD data type with a bit-wise copy from a Uint8x16.
586 SIMD.%type%.greaterThan() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.greaterThan() method returns a selection mask with values depending on a greater-than comparison (a > b) in each lane.
587 SIMD.%type%.greaterThanOrEqual() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.greaterThanOrEqual() method returns a selection mask with values depending on a greater-than-or-equal comparison (a >= b) in each lane.
588 SIMD.%type%.lessThan() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.lessThan() method returns a selection mask with values depending on a less-than comparison (a < b) in each lane.
589 SIMD.%type%.lessThanOrEqual() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.lessThanOrEqual() method returns a selection mask with values depending on a less-than-or-equal comparison (a <= b) in each lane.
590 SIMD.%type%.load() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.load() methods create a new SIMD data type with the lane values loaded from a typed array.
591 SIMD.%type%.max() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.max() method returns a new instance with the maximum lane values of two SIMD types (Math.max(a, b)).
592 SIMD.%type%.maxNum() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.maxNum() method returns a new instance with the maximum lane values of two SIMD types (Math.max(a, b)) preferring numbers over NaN.
593 SIMD.%type%.min() Experimental, Expérimental, JavaScript, Method, SIMD
The static SIMD.%type%.min() method returns a new instance with the minimum lane values of two SIMD types (Math.min(a, b)).
594 SIMD.%type%.minNum() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.minNum() method returns a new instance with the minimum lane values of two SIMD types (Math.min(a, b)) preferring numbers over NaN.
595 SIMD.%type%.mul() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.mul() method returns a new instance with the lane values multiplied (a * b).
596 SIMD.%type%.neg() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.mul() method returns a new instance with the lane values negated.
597 SIMD.%type%.not() Experimental, JavaScript, Method, Reference, SIMD
The static SIMD.%type%.not() method returns a new instance with the bitwise logical NOT of the lane values (~a). This operation exists only on integer and boolean SIMD types.
598 SIMD.%type%.notEqual() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.notEqual() method returns a selection mask with values depending on an inequality comparison (a != b) in each lane.
599 SIMD.%type%.or() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.or() method returns a new instance with the logical OR of the lane values (a | b). This operation exists only on integer and boolean SIMD types.
600 SIMD.%type%.prototype.toSource() JavaScript, Method, Non-standard, Prototype, SIMD, prototype
The non-standard SIMD.%type%.toSource() method returns a string representing the source code of the object.
601 SIMD.%type%.prototype.toString() Experimental, JavaScript, Method, SIMD
The SIMD.%type%.toString() method returns a String representing a SIMD object.
602 SIMD.%type%.prototype.valueOf() Experimental, JavaScript, Method, SIMD
The SIMD.%type%.valueOf() method performs a type check returns the this value.
603 SIMD.%type%.reciprocalApproximation() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.reciprocalApproximation() method returns a new instance with an approximation of the reciprocal lane values (1 / x).
604 SIMD.%type%.reciprocalSqrtApproximation() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.reciprocalSqrtApproximation() method returns a new instance with an approximation of the reciprocal value (1 / x) of the square root (Math.sqrt()) of the lane values.
605 SIMD.%type%.replaceLane() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.replaceLane() method returns a new SIMD data type with the given lane value replaced.
606 SIMD.%type%.select() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.select() method creates a new integer SIMD data type with the lane values being a selection match from a selector mask.
607 SIMD.%type%.shiftLeftByScalar() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.shiftLeftByScalar() method returns a new instance with the lane values shifted left by a given bit count (a << bits).
608 SIMD.%type%.shiftRightByScalar() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.shiftRightByScalar() method returns a new instance with the lane values shifted right. Depending on the type, these operations are used:
609 SIMD.%type%.shuffle() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.shuffle() method creates a new SIMD data type instance with the lane values shuffled.
610 SIMD.%type%.splat() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.splat() method creates a new SIMD data type with all lanes set to a given value.
611 SIMD.%type%.sqrt() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.sqrt() method returns a new instance with the square root of the lane values (see also Math.sqrt() for the same scalar function).
612 SIMD.%type%.store() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.store() methods store a SIMD data type into a typed array.
613 SIMD.%type%.sub() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.sub() method returns a new instance with the lane values subtracted (a - b).
614 SIMD.%type%.subSaturate() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.subSaturate() method returns a new instance with the lane values subtracted (a - b) and saturating behavior on overflow.
615 SIMD.%type%.swizzle() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.swizzle() method creates a new SIMD data type instance with the lane values swizzled (re-ordered).
616 SIMD.%type%.xor() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.xor() method returns a new instance with the logical XOR of the lane values (a ^ b).
617 SIMD.Bool16x8 Experimental, JavaScript, SIMD
The SIMD.Bool16x8 data type is a 128-bit vector divided into 8 lanes storing boolean values.
618 SIMD.Bool32x4 Experimental, JavaScript, SIMD
The SIMD.Bool32x4 data type is a 128-bit vector divided into 4 lanes storing boolean values.
619 SIMD.Bool64x2 Experimental, JavaScript, SIMD
The SIMD.Bool64x2 data type is a 128-bit vector divided into 2 lanes storing boolean values.
620 SIMD.Bool8x16 Experimental, JavaScript, SIMD
The SIMD.Bool8x16 data type is a 128-bit vector divided into 16 lanes storing boolean values.
621 SIMD.Float32x4 Experimental, JavaScript, SIMD
The SIMD.Float32x4 data type is a 128-bit vector divided into 4 lanes storing single precision floating point values.
622 SIMD.Float64x2 Experimental, JavaScript, SIMD
The SIMD.Float64x2 data type is a 128-bit vector divided into 2 lanes storing double precision floating point values.
623 SIMD.Int16x8 Experimental, JavaScript, SIMD
The SIMD.Int16x8 data type is a 128-bit vector divided into 8 lanes storing 16-bit signed integer values.
624 SIMD.Int32x4 Experimental, JavaScript, SIMD
The SIMD.Int32x4 data type is a 128-bit vector divided into 4 lanes storing 32-bit signed integer values.
625 SIMD.Int8x16 Experimental, JavaScript, SIMD
The SIMD.Int8x16 data type is a 128-bit vector divided into 16 lanes storing 8-bit signed integer values.
626 SIMD.Uint16x8 Experimental, JavaScript, SIMD
The SIMD.Uint16x8 data type is a 128-bit vector divided into 8 lanes storing 16-bit unsigned integer values.
627 SIMD.Uint32x4 Experimental, JavaScript, SIMD
The SIMD.Uint32x4 data type is a 128-bit vector divided into 4 lanes storing 32-bit unsigned integer values.
628 SIMD.Uint8x16 Experimental, JavaScript, SIMD
The SIMD.Uint8x16 data type is a 128-bit vector divided into 16 lanes storing 8-bit unsigned integer values.
629 Set ECMAScript 2015, Global Objects, JavaScript, Object, set
The Set object lets you store unique values of any type, whether primitive values or object references.
630 Set.prototype ECMAScript 2015, JavaScript, Property, set
The Set.prototype property represents the prototype for the Set constructor.
631 Set.prototype.add() ECMAScript 2015, JavaScript, Method, Prototype, set
The add() method appends a new element with a specified value to the end of a Set object.
632 Set.prototype.clear() ECMAScript 2015, JavaScript, Method, Prototype, set
The clear() method removes all elements from a Set object.
633 Set.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, set
The delete() method removes the specified element from a Set object.
634 Set.prototype.entries() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, set
The entries() method returns a new Iterator object that contains an array of [value, value] for each element in the Set object, in insertion order. For Set objects there is no key like in Map objects. However, to keep the API similar to the Map object, each entry has the same value for its key and value here, so that an array [value, value] is returned.
635 Set.prototype.forEach() ECMAScript 2015, JavaScript, Method, Prototype, set
The forEach() method executes a provided function once for each value in the Set object, in insertion order.
636 Set.prototype.has() ECMAScript 2015, JavaScript, Method, Prototype, set
The has() method returns a boolean indicating whether an element with the specified value exists in a Set object or not.
637 Set.prototype.size ECMAScript 2015, JavaScript, Property, Prototype, set
The size accessor property returns the number of elements in a Set object.
638 Set.prototype.values() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, set
The values() method returns a new Iterator object that contains the values for each element in the Set object in insertion order.
639 Set.prototype[@@iterator]() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, Reference, set
The initial value of the @@iterator property is the same function object as the initial value of the values property.
640 get Set[@@species] ECMAScript 2015, JavaScript, Property, set
The Set[@@species] accessor property returns the Set constructor.
641 SharedArrayBuffer Constructor, Experimental, JavaScript, Shared Memory, SharedArrayBuffer, TypedArrays
The SharedArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer, similar to the ArrayBuffer object, but in a way that they can be used to create views on shared memory. Unlike an ArrayBuffer, a SharedArrayBuffer cannot become detached.
642 SharedArrayBuffer.prototype Experimental, JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays
The SharedArrayBuffer.prototype property represents the prototype for the SharedArrayBuffer object.
643 SharedArrayBuffer.prototype.byteLength Experimental, JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays
The byteLength accessor property represents the length of an SharedArrayBuffer in bytes.
644 SharedArrayBuffer.prototype.slice() Experimental, JavaScript, Method, Prototype, Shared Memory, SharedArrayBuffer, TypedArrays
The SharedArrayBuffer.prototype.slice() method returns a new SharedArrayBuffer whose contents are a copy of this SharedArrayBuffer's bytes from begin, inclusive, up to end, exclusive. If either begin or end is negative, it refers to an index from the end of the array, as opposed to from the beginning. This method has the same algorithm as Array.prototype.slice().
645 StopIteration Deprecated, JavaScript, Legacy Iterator, Reference, StopIteration
The StopIteration object is used to tell the end of the iteration in the legacy iterator protocol.
646 String ECMAScript 2015, JavaScript, Reference, String
The String global object is a constructor for strings, or a sequence of characters.
647 String.fromCharCode() JavaScript, Method, Reference, String, Unicode
The static String.fromCharCode() method returns a string created by using the specified sequence of Unicode values.
648 String.fromCodePoint() ECMAScript 2015, JavaScript, Method, Reference, String
The static String.fromCodePoint() method returns a string created by using the specified sequence of code points.
649 String.prototype JavaScript, Property, Prototype, Reference, String
The String.prototype property represents the String prototype object.
650 String.prototype.anchor() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The anchor() method creates an <a> HTML anchor element that is used as a hypertext target.
651 String.prototype.big() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The big() method creates a <big> HTML element that causes a string to be displayed in a big font.
652 String.prototype.blink() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The blink() method creates a <blink> HTML element that causes a string to blink.
653 String.prototype.bold() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The bold() method creates a <b> HTML element that causes a string to be displayed as bold.
654 String.prototype.charAt() JavaScript, Method, Prototype, Reference, String
The charAt() method returns the specified character from a string.
655 String.prototype.charCodeAt() JavaScript, Method, Reference, String, Unicode
The charCodeAt() method returns an integer between 0 and 65535 representing the UTF-16 code unit at the given index (the UTF-16 code unit matches the Unicode code point for code points representable in a single UTF-16 code unit, but might also be the first code unit of a surrogate pair for code points not representable in a single UTF-16 code unit, e.g. Unicode code points > 0x10000). If you want the entire code point value, use codePointAt().
656 String.prototype.codePointAt() ECMAScript 2015, JavaScript, Method, Prototype, Reference, String
The codePointAt() method returns a non-negative integer that is the Unicode code point value.
657 String.prototype.concat() JavaScript, Method, Prototype, Reference, String
The concat() method combines the text of one or more strings and returns a new string.
658 String.prototype.endsWith() JavaScript, Method, Prototype, Reference, String
The endsWith() method determines whether a string ends with the characters of a specified string, returning true or false as appropriate.
659 String.prototype.fixed() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The fixed() method creates a <tt> HTML element that causes a string to be displayed in fixed-pitch font.
660 String.prototype.fontcolor() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The fontcolor() method creates a <font> HTML element that causes a string to be displayed in the specified font color.
661 String.prototype.fontsize() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The fontsize() method creates a <font> HTML element that causes a string to be displayed in the specified font size.
662 String.prototype.includes() JavaScript, Method, Prototype, Reference, String
The includes() method determines whether one string may be found within another string, returning true or false as appropriate.
663 String.prototype.indexOf() JavaScript, Method, Prototype, Reference, String
The indexOf() method returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex. Returns -1 if the value is not found.
664 String.prototype.italics() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String
The italics() method creates an <i> HTML element that causes a string to be italic.
665 String.prototype.lastIndexOf() JavaScript, Method, Prototype, Reference, String
The lastIndexOf() method returns the index within the calling String object of the last occurrence of the specified value, searching backwards from fromIndex. Returns -1 if the value is not found.
666 String.prototype.link() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The link() method creates a string representing the code for an <a> HTML element to be used as a hypertext link to another URL.
667 String.prototype.localeCompare() Internationalization, JavaScript, Method, Prototype, Reference, String
The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order.
668 String.prototype.match() JavaScript, Method, Prototype, Reference, Regular Expressions, String
The match() method retrieves the matches when matching a string against a regular expression.
669 String.prototype.normalize() ECMAScript 2015, JavaScript, Method, Prototype, Reference, String, Unicode
The normalize() method returns the Unicode Normalization Form of a given string (if the value isn't a string, it will be converted to one first).
670 String.prototype.padEnd() Experimental, JavaScript, Method, Reference, String
The padEnd() method pads the current string with a given string (repeated, if needed) so that the resulting string reaches a given length. The padding is applied from the end (right) of the current string.
671 String.prototype.padStart() Experimental, JavaScript, Method, Reference, String
The padStart() method pads the current string with another string (repeated, if needed) so that the resulting string reaches the given length. The padding is applied from the start (left) of the current string.
672 String.prototype.quote() JavaScript, Method, Obsolete, Prototype, Reference, String, prototype
The non-standard quote() method returns a copy of the string, replacing various special characters in the string with their escape sequences and wrapping the result in double-quotes (").
673 String.prototype.repeat() ECMAScript 2015, JavaScript, Method, Prototype, Reference, String
The repeat() method constructs and returns a new string which contains the specified number of copies of the string on which it was called, concatenated together.
674 String.prototype.replace() Expressions, JavaScript, Method, Prototype, Reference, Regular, String
The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match.
675 String.prototype.search() JavaScript, Method, Prototype, Reference, Regular Expressions, String
The search() method executes a search for a match between a regular expression and this String object.
676 String.prototype.slice() JavaScript, Method, Prototype, Reference, String
The slice() method extracts a section of a string and returns it as a new string.
677 String.prototype.small() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The small() method creates a <small> HTML element that causes a string to be displayed in a small font.
678 String.prototype.split() JavaScript, Method, Prototype, Reference, Regular Expressions, String
The split() method splits a String object into an array of strings by separating the string into substrings.
679 String.prototype.startsWith() ECMAScript 2015, JavaScript, Method, Prototype, Reference, String
The startsWith() method determines whether a string begins with the characters of a specified string, returning true or false as appropriate.
680 String.prototype.strike() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String
The strike() method creates a <strike> HTML element that causes a string to be displayed as struck-out text.
681 String.prototype.sub() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String
The sub() method creates a <sub> HTML element that causes a string to be displayed as subscript.
682 String.prototype.substr() JavaScript, Method, Prototype, Reference, String
The substr() method returns the characters in a string beginning at the specified location through the specified number of characters.
683 String.prototype.substring() JavaScript, Method, Prototype, Reference, String
The substring() method returns a subset of a string between one index and another, or through the end of the string.
684 String.prototype.sup() Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String
The sup() method creates a <sup> HTML element that causes a string to be displayed as superscript.
685 String.prototype.toLocaleLowerCase() Internationalization, JavaScript, Method, Prototype, Reference, String
The toLocaleLowerCase() method returns the calling string value converted to lower case, according to any locale-specific case mappings.
686 String.prototype.toLocaleUpperCase() Internationalization, JavaScript, Method, Prototype, Reference, String
The toLocaleUpperCase() method returns the calling string value converted to upper case, according to any locale-specific case mappings.
687 String.prototype.toLowerCase() JavaScript, Method, Prototype, Reference, String
The toLowerCase() method returns the calling string value converted to lower case.
688 String.prototype.toSource() JavaScript, Method, Non-standard, Prototype, Reference, String
The toSource() method returns a string representing the source code of the object.
689 String.prototype.toString() JavaScript, Method, Prototype, Reference, String
The toString() method returns a string representing the specified object.
690 String.prototype.toUpperCase() JavaScript, Method, Prototype, Reference, String
The toUpperCase() method returns the calling string value converted to upper case.
691 String.prototype.trim() ECMAScript 5, JavaScript, Method, Prototype, Reference, String
The trim() method removes whitespace from both ends of a string. Whitespace in this context is all the whitespace characters (space, tab, no-break space, etc.) and all the line terminator characters (LF, CR, etc.).
692 String.prototype.trimLeft() JavaScript, Method, Prototype, Reference, String
The trimLeft() method removes whitespace from the left end of a string.
693 String.prototype.trimRight() JavaScript, Method, Prototype, Reference, String
The trimRight() method removes whitespace from the right end of a string.
694 String.prototype.valueOf() JavaScript, Method, Prototype, Reference, String
The valueOf() method returns the primitive value of a String object.
695 String.prototype[@@iterator]() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, Reference, String
The [@@iterator]() method returns a new Iterator object that iterates over the code points of a String value, returning each code point as a String value.
696 String.raw() ECMAScript 2015, JavaScript, Method, Reference, String
The static String.raw() method is a tag function of template literals, similar to the r prefix in Python or the @ prefix in C# for string literals (yet there is a difference: see explanations in this issue). It's used to get the raw string form of template strings (that is, the original, uninterpreted text).
697 string.length JavaScript, Property, Prototype, Reference, String
The length property represents the length of a string.
698 Symbol ECMAScript 2015, JavaScript, Symbol
The Symbol() function returns a value of type symbol, has static properties that expose several members of built-in objects, has static methods that expose the global symbol registry, and resembles a built-in object class but is incomplete as a constructor because it does not support the syntax "new Symbol()".
699 Symbol.for() ECMAScript 2015, JavaScript, Method, Symbol
The Symbol.for(key) method searches for existing symbols in a runtime-wide symbol registry with the given key and returns it if found. Otherwise a new symbol gets created in the global symbol registry with this key.
700 Symbol.hasInstance ECMAScript 2015, JavaScript, Property, Reference, Symbol
The Symbol.hasInstance well-known symbol is used to determine if a constructor object recognizes an object as its instance. The instanceof operator's behavior can be customized by this symbol.
701 Symbol.isConcatSpreadable ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.isConcatSpreadable well-known symbol is used to configure if an object should be flattened to its array elements when using the Array.prototype.concat() method.
702 Symbol.iterator ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.iterator well-known symbol specifies the default iterator for an object. Used by for...of.
703 Symbol.keyFor() ECMAScript 2015, JavaScript, Method, Symbol
The Symbol.keyFor(sym) method retrieves a shared symbol key from the global symbol registry for the given symbol.
704 Symbol.match ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.match well-known symbol specifies the matching of a regular expression against a string. This function is called by the String.prototype.match() method.
705 Symbol.prototype JavaScript, Property, Symbol
The Symbol.prototype property represents the prototype for the Symbol constructor.
706 Symbol.prototype.toSource() JavaScript, Method, Prototype, Symbol, prototype
The toSource() method returns a string representing the source code of the object.
707 Symbol.prototype.toString() ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The toString() method returns a string representing the specified Symbol object.
708 Symbol.prototype.valueOf() ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The valueOf() method returns the primitive value of a Symbol object.
709 Symbol.prototype[@@toPrimitive] ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The [@@toPrimitive]() method converts a Symbol object to a primitive value.
710 Symbol.replace ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.replace well-known symbol specifies the method that replaces matched substrings of a string. This function is called by the String.prototype.replace() method.
711 Symbol.search ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.search well-known symbol specifies the method that returns the index within a string that matches the regular expression. This function is called by the String.prototype.search() method.
712 Symbol.species ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.species well-known symbol specifies a function valued property that the constructor function uses to create derived objects.
713 Symbol.split ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.split well-known symbol specifies the method that splits a string at the indices that match a regular expression. This function is called by the String.prototype.split() method.
714 Symbol.toPrimitive ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.toPrimitive is a symbol that specifies a function valued property that is called to convert an object to a corresponding primitive value.
715 Symbol.toStringTag ECMAScript 2015, JavaScript, Property, Reference, Symbol
The Symbol.toStringTag well-known symbol is a string valued property that is used in the creation of the default string description of an object. It is accessed internally by the Object.prototype.toString() method.
716 Symbol.unscopables ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.unscopables well-known symbol is used to specify an object value of whose own and inherited property names are excluded from the with environment bindings of the associated object.
717 SyntaxError Error, JavaScript, Object, Reference, SyntaxError
The SyntaxError object represents an error when trying to interpret syntactically invalid code.
718 SyntaxError.prototype Error, JavaScript, Property, Prototype, SyntaxError
The SyntaxError.prototype property represents the prototype for the SyntaxError constructor.
719 TypeError Error, JavaScript, Object, Reference, TypeError
The TypeError object represents an error when a value is not of the expected type.
720 TypeError.prototype Error, JavaScript, Property, Prototype, TypeError, prototype
The TypeError.prototype property represents the prototype for the TypeError constructor.
721 TypedArray JavaScript, TypedArray, TypedArrays
A TypedArray object describes an array-like view of an underlying binary data buffer. There is no global property named TypedArray, nor is there a directly visible TypedArray constructor.  Instead, there are a number of different global properties, whose values are typed array constructors for specific element types, listed below. On the following pages you will find common properties and methods that can be used with any typed array containing elements of any type.
722 TypedArray.BYTES_PER_ELEMENT JavaScript, Property, TypedArray, TypedArrays
The TypedArray.BYTES_PER_ELEMENT property represents the size in bytes of each element in an typed array.
723 TypedArray.from() ECMAScript 2015, JavaScript, Method, TypedArray, TypedArrays
The TypedArray.from() method creates a new typed array from an array-like or iterable object. This method is nearly the same as Array.from().
724 TypedArray.name JavaScript, Property, TypedArray, TypedArrays
The TypedArray.name property represents a string value of the typed array constructor name.
725 TypedArray.of() ECMAScript 2015, JavaScript, Method, TypedArray, TypedArrays
The TypedArray.of() method creates a new typed array with a variable number of arguments. This method is nearly the same as Array.of().
726 TypedArray.prototype JavaScript, Property, TypedArray, TypedArrays
The TypedArray.prototype property represents the prototype for TypedArray constructors.
727 TypedArray.prototype.buffer JavaScript, Property, Prototype, TypedArray, TypedArrays
The buffer accessor property represents the ArrayBuffer referenced by a TypedArray at construction time.
728 TypedArray.prototype.byteLength JavaScript, Property, Prototype, TypedArray, TypedArrays
The byteLength accessor property represents the length (in bytes) of a typed array.
729 TypedArray.prototype.byteOffset JavaScript, Property, Prototype, TypedArray, TypedArrays
The byteOffset accessor property represents the offset (in bytes) of a typed array from the start of its ArrayBuffer.
730 TypedArray.prototype.copyWithin() JavaScript, Method, Prototype, TypedArray, TypedArrays
The copyWithin() method copies the sequence of array elements within the array to the position starting at target. The copy is taken from the index positions of the second and third arguments start and end. The end argument is optional and defaults to the length of the array. This method has the same algorithm as Array.prototype.copyWithin. TypedArray is one of the typed array types here.
731 TypedArray.prototype.entries() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The entries() method returns a new Array Iterator object that contains the key/value pairs for each index in the array.
732 TypedArray.prototype.every() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The every() method tests whether all elements in the typed array pass the test implemented by the provided function. This method has the same algorithm as Array.prototype.every(). TypedArray is one of the typed array types here.
733 TypedArray.prototype.fill() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The fill() method fills all the elements of a typed array from a start index to an end index with a static value. This method has the same algorithm as Array.prototype.fill(). TypedArray is one of the typed array types here.
734 TypedArray.prototype.filter() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The filter() method creates a new typed array with all elements that pass the test implemented by the provided function. This method has the same algorithm as Array.prototype.filter(). TypedArray is one of the typed array types here.
735 TypedArray.prototype.find() ECMAScript 2015, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The find() method returns a value in the typed array, if an element satisfies the provided testing function. Otherwise undefined is returned. TypedArray is one of the typed array types here.
736 TypedArray.prototype.findIndex() ECMAScript 2015, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The findIndex() method returns an index in the typed array, if an element in the typed array satisfies the provided testing function. Otherwise -1 is returned.
737 TypedArray.prototype.forEach() ECMAScript 2015, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The forEach() method executes a provided function once per array element. This method has the same algorithm as Array.prototype.forEach(). TypedArray is one of the typed array types here.
738 TypedArray.prototype.includes() ECMAScript 2016, JavaScript, Method, Prototype, TypedArray, TypedArrays
The includes() method determines whether a typed array includes a certain element, returning true or false as appropriate. This method has the same algorithm as Array.prototype.includes(). TypedArray is one of the typed array types here.
739 TypedArray.prototype.indexOf() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The indexOf() method returns the first index at which a given element can be found in the typed array, or -1 if it is not present. This method has the same algorithm as Array.prototype.indexOf(). TypedArray is one of the typed array types here.
740 TypedArray.prototype.join() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The join() method joins all elements of an array into a string. This method has the same algorithm as Array.prototype.join(). TypedArray is one of the typed array types here.
741 TypedArray.prototype.keys() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The keys() method returns a new Array Iterator object that contains the keys for each index in the array.
742 TypedArray.prototype.lastIndexOf() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The lastIndexOf() method returns the last index at which a given element can be found in the typed array, or -1 if it is not present. The typed array is searched backwards, starting at fromIndex. This method has the same algorithm as Array.prototype.lastIndexOf(). TypedArray is one of the typed array types here.
743 TypedArray.prototype.length JavaScript, Property, Prototype, TypedArray, TypedArrays
The length accessor property represents the length (in elements) of a typed array.
744 TypedArray.prototype.map() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The map() method creates a new typed array with the results of calling a provided function on every element in this typed array. This method has the same algorithm as Array.prototype.map(). TypedArray is one of the typed array types here.
745 TypedArray.prototype.move() JavaScript, Method, Obsolete, Prototype, TypedArray
The move() method used to copy the sequence of array elements within the array to the position starting at target. However, this non-standard method has been replaced with the standard TypedArray.prototype.copyWithin() method. TypedArray is one of the typed array types here.
746 TypedArray.prototype.reduce() JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The reduce() method applies a function against an accumulator and each value of the typed array (from left-to-right) has to reduce it to a single value. This method has the same algorithm as Array.prototype.reduce(). TypedArray is one of the typed array types here.
747 TypedArray.prototype.reduceRight() JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The reduceRight() method applies a function against an accumulator and each value of the typed array (from right-to-left) has to reduce it to a single value. This method has the same algorithm as Array.prototype.reduceRight(). TypedArray is one of the typed array types here.
748 TypedArray.prototype.reverse() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The reverse() method reverses a typed array in place. The first typed array element becomes the last and the last becomes the first. This method has the same algorithm as Array.prototype.reverse(). TypedArray is one of the typed array types here.
749 TypedArray.prototype.set() JavaScript, Method, Prototype, TypedArray, TypedArrays
The set() method stores multiple values in the typed array, reading input values from a specified array.
750 TypedArray.prototype.slice() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The slice() method returns a shallow copy of a portion of a typed array into a new typed array object. This method has the same algorithm as Array.prototype.slice(). TypedArray is one of the typed array types here.
751 TypedArray.prototype.some() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The some() method tests whether some element in the typed array passes the test implemented by the provided function. This method has the same algorithm as Array.prototype.some(). TypedArray is one of the typed array types here.
752 TypedArray.prototype.sort() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The sort() method sorts the elements of a typed array in place and returns the typed array. This method has the same algorithm as Array.prototype.sort(). TypedArray is one of the typed array types here.
753 TypedArray.prototype.subarray() JavaScript, Method, Prototype, TypedArray, TypedArrays
The subarray() method returns a new TypedArray on the same ArrayBuffer store and with the same element types as for this TypedArray object. The begin offset is inclusive and the end offset is exclusive. TypedArray is one of the typed array types.
754 TypedArray.prototype.toLocaleString() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray, TypedArrays
The toLocaleString() method returns a string representing the elements of the typed array. The elements are converted to strings and are separated by a locale-specific string (such as a comma “,”). This method has the same algorithm as Array.prototype.toLocaleString() and, as the typed array elements are numbers, the same algorithm as Number.prototype.toLocaleString() applies for each element. TypedArray is one of the typed array types here.
755 TypedArray.prototype.toString() ECMAScript 2015, JavaScript, Method, Prototype, TypedArray
The toString() method returns a string representing the specified array and its elements. This method has the same algorithm as Array.prototype.toString(). TypedArray is one of the typed array types here.
756 TypedArray.prototype.values() ECMAScript 2015, Iterator, JavaScript, Method, Prototype, TypedArray, TypedArrays
The values() method returns a new Array Iterator object that contains the values for each index in the array.
757 TypedArray.prototype[@@iterator]() Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays
The initial value of the @@iterator property is the same function object as the initial value of the values property.
758 get TypedArray[@@species] JavaScript, Property, Prototype, TypedArray, TypedArrays
The TypedArray[@@species] accessor property returns the constructor of a typed array.
759 URIError Error, JavaScript, Object, Reference, URIError
The URIError object represents an error when a global URI handling function was used in a wrong way.
760 URIError.prototype Error, JavaScript, Property, Prototype, URIError
The URIError.prototype property represents the prototype for the URIError constructor.
761 Uint16Array Constructor, JavaScript, TypedArray, TypedArrays, Uint16Array
The Uint16Array typed array represents an array of 16-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
762 Uint32Array Constructor, JavaScript, TypedArray, TypedArrays
The Uint32Array typed array represents an array of 32-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
763 Uint8Array Constructor, JavaScript, TypedArray, TypedArrays, Uint8Array
The Uint8Array typed array represents an array of 8-bit unsigned integers. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
764 Uint8ClampedArray Constructor, JavaScript, TypedArray, TypedArrays, Uint8ClampedArray
The Uint8ClampedArray typed array represents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead; if you specify a non-integer, the nearest integer will be set. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
765 WeakMap ECMAScript 2015, JavaScript, WeakMap
The WeakMap object is a collection of key/value pairs in which the keys are weakly referenced.  The keys must be objects and the values can be arbitrary values.
766 WeakMap.prototype ECMAScript 2015, JavaScript, Property, WeakMap
The WeakMap.prototype property represents the prototype for the WeakMap constructor.
767 WeakMap.prototype.clear() JavaScript, Method, Obsolete, Prototype, WeakMap
The clear() method used to remove all elements from a WeakMap object, but is no longer part of ECMAScript and its implementations.
768 WeakMap.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The delete() method removes the specified element from a WeakMap object.
769 WeakMap.prototype.get() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The get() method returns a specified element from a WeakMap object.
770 WeakMap.prototype.has() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The has() method returns a boolean indicating whether an element with the specified key exists in the WeakMap object or not.
771 WeakMap.prototype.set() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The set() method adds a new element with a specified key and value to a WeakMap object.
772 WeakSet ECMAScript 2015, JavaScript, WeakSet
The WeakSet object lets you store weakly held objects in a collection.
773 WeakSet.prototype ECMAScript 2015, JavaScript, Property, WeakSet
The WeakSet.prototype property represents the prototype for the WeakSet constructor.
774 WeakSet.prototype.add() ECMAScript 2015, JavaScript, Method, Prototype, WeakSet
The add() method appends a new object to the end of a WeakSet object.
775 WeakSet.prototype.clear() JavaScript, Method, Obsolete, Prototype, WeakSet
The clear() method used to remove all elements from a WeakSet object, but is no longer part of ECMAScript and its implementations.
776 WeakSet.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, WeakSet
The delete() method removes the specified element from a WeakSet object.
777 WeakSet.prototype.has() ECMAScript 2015, JavaScript, Method, Prototype, WeakSet
The has() method returns a boolean indicating whether an object exists in a WeakSet or not.
778 WebAssembly API, Experimental, JavaScript, Object, Reference, WebAssembly
The WebAssembly JavaScript object acts as the namespace for all WebAssembly-related functionality.
779 WebAssembly.CompileError() API, CompileError, Constructor, Error, Experimental, JavaScript, NativeError, Reference, WebAssembly
The WebAssembly.CompileError() constructor creates a new WebAssembly CompileError object, which indicates an error during WebAssembly decoding or validation.
780 WebAssembly.Instance API, Constructor, Experimental, JavaScript, Reference, WebAssembly, instance
A WebAssembly.Instance object is a stateful, executable instance of a WebAssembly.ModuleInstance objects contain all the Exported WebAssembly functions that allow calling into WebAssembly code from JavaScript.
781 WebAssembly.Instance.prototype JavaScript, Property, Prototype, WebAssembly, instance
The WebAssembly.Instance.prototype property represents the prototype for the WebAssembly.Instance() constructor.
782 WebAssembly.Instance.prototype.exports API, Experimental, JavaScript, Property, Reference, WebAssembly, exports, instance
The exports readonly property of the WebAssembly.Instance object prototype returns an object containing as its members all the functions exported from the WebAssembly module instance, to allow them to be accessed and used by JavaScript.
783 WebAssembly.LinkError() API, Constructor, Experimental, JavaScript, LinkError, Reference, WebAssembly
The WebAssembly.LinkError() constructor creates a new WebAssembly LinkError object, which indicates an error during module instantiation (besides traps from the start function).
784 WebAssembly.Memory() API, Constructor, Experimental, JavaScript, Object, Reference, WebAssembly, memory
The WebAssembly.Memory() constructor creates a new Memory object which is a resizable ArrayBuffer that holds the raw bytes of memory accessed by a WebAssembly Instance.
785 WebAssembly.Memory.prototype JavaScript, Property, Prototype, WebAssembly, memory
The WebAssembly.Memory.prototype property represents the prototype for the WebAssembly.Memory() constructor.
786 WebAssembly.Memory.prototype.buffer API, Buffer, Experimental, JavaScript, Property, Reference, WebAssembly, memory
The buffer prototype property of the Memory object returns the buffer contained in the memory.
787 WebAssembly.Memory.prototype.grow() API, Experimental, JavaScript, Method, Reference, WebAssembly, grow, memory
The grow() protoype method of the Memory object increases the size of the memory instance by a specified number of WebAssembly pages.
788 WebAssembly.Module API, Constructor, Experimental, JavaScript, Module, Reference, WebAssembly
All Module instances inherit from the Module() constructor's prototype object — this can be modified to affect all Module instances.
789 WebAssembly.Module.customSections() API, Constructor, Experimental, JavaScript, Method, Module, Object, Reference, WebAssembly, customSections
The WebAssembly.customSections() function returns a copy of the contents of all custom sections in the given module with the given string name.
790 WebAssembly.Module.exports() API, Constructor, Experimental, JavaScript, Method, Module, Object, Reference, WebAssembly, exports
The WebAssembly.exports() function returns an array containing descriptions of all the declared exports of the given Module.
791 WebAssembly.Module.imports() API, Constructor, Experimental, JavaScript, Method, Module, Object, Reference, WebAssembly, imports
The WebAssembly.imports() function returns an array containing descriptions of all the declared imports of the given Module.
792 WebAssembly.Module.prototype JavaScript, Module, Property, Prototype, WebAssembly
The WebAssembly.Module.prototype property represents the prototype for the WebAssembly.Module() constructor.
793 WebAssembly.RuntimeError() API, Constructor, Experimental, JavaScript, Reference, RuntimeError, WebAssembly
The WebAssembly.RuntimeError() constructor creates a new WebAssembly RuntimeError object — the type that is thrown whenever WebAssembly specifies a trap.
794 WebAssembly.Table() API, Constructor, Experimental, JavaScript, Object, Reference, WebAssembly, table
The WebAssembly.Table() constructor creates a new Table object of the given size and element type.
795 WebAssembly.Table.prototype JavaScript, Property, Prototype, WebAssembly, table
The WebAssembly.Table.prototype property represents the prototype for the WebAssembly.Table() constructor.
796 WebAssembly.Table.prototype.get() API, Experimental, JavaScript, Method, Reference, WebAssembly, get, table
The get() prototype method of the WebAssembly.Table() object retrieves a function reference stored at a given index.
797 WebAssembly.Table.prototype.grow() API, Experimental, JavaScript, Method, Reference, WebAssembly, grow, table
The grow() prototype method of the WebAssembly.Table object increases the size of the Table instance by a specified number of elements.
798 WebAssembly.Table.prototype.length API, Experimental, JavaScript, Property, Reference, WebAssembly, length, table
The length prototype property of the WebAssembly.Table object returns the length of the table, i.e. the number of elements in the table.
799 WebAssembly.Table.prototype.set() API, Experimental, JavaScript, Method, Reference, WebAssembly, set, table
The set() prototype method of the WebAssembly.Table object mutates a reference stored at a given index to a different value.
800 WebAssembly.compile() API, Experimental, JavaScript, Method, Object, Reference, WebAssembly, compile
The WebAssembly.compile() function compiles a WebAssembly.Module from WebAssembly binary code.  This function is useful if it is necessary to a compile a module before it can be instantiated (otherwise, the WebAssembly.instantiate() function should be used).
801 WebAssembly.instantiate() API, Experimental, JavaScript, Method, Object, Reference, WebAssembly, instantiate
The WebAssembly.instantiate() function is the primary API for compiling and instantiating WebAssembly code.  This function has two overloads:
802 WebAssembly.validate() API, Experimental, JavaScript, Method, Object, Reference, WebAssembly, validate
The WebAssembly.validate() function validates a given typed array of WebAssembly binary code, returning whether the bytes form a valid wasm module (true) or not (false).
803 decodeURI() JavaScript
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine.
804 decodeURIComponent() JavaScript
The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.
805 encodeURI() JavaScript, URI
The encodeURI() function encodes a Uniform Resource Identifier (URI) by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
806 encodeURIComponent() JavaScript, URI
The encodeURIComponent() function encodes a Uniform Resource Identifier (URI) component by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
807 escape() Deprecated, JavaScript
The deprecated escape() function computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.
808 eval() JavaScript, eval
The eval() function evaluates JavaScript code represented as a string.
809 isFinite() JavaScript
The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.
810 isNaN() JavaScript, Method
The isNaN() function determines whether a value is NaN or not. Note: coercion inside the isNaN function has interesting rules; you may alternatively want to use Number.isNaN(), as defined in ECMAScript 2015, or you can use typeof to determine if the value is Not-A-Number.
811 null JavaScript, Literal, Primitive
The value null represents the intentional absence of any object value. It is one of JavaScript's primitive values.
812 parseFloat() JavaScript
The parseFloat() function parses a string argument and returns a floating point number.
813 parseInt() JavaScript
The parseInt() function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems).
814 undefined JavaScript
The global undefined property represents the primitive value undefined. It is one of JavaScript's primitive types.
815 unescape() Deprecated, JavaScript
The deprecated unescape() function computes a new string in which hexadecimal escape sequences are replaced with the character that it represents. The escape sequences might be introduced by a function like escape. Because unescape is deprecated, use decodeURI or decodeURIComponent instead.
816 uneval() JavaScript
The uneval() function creates a string representation of the source code of an Object.
817 Statements and declarations JavaScript, Reference, statements
JavaScript applications consist of statements with an appropriate syntax. A single statement may span multiple lines. Multiple statements may occur on a single line if each statement is separated by a semicolon. This isn't a keyword, but a group of keywords.
818 Legacy generator function JavaScript, Legacy Iterator, Reference
The legacy generator function statement declares legacy generator functions with the specified parameters.
819 async function Example, Function, JavaScript, Statement
An AsyncFunction object, representing an asynchronous function which executes the code contained within the function.
820 block JavaScript, Reference, Statement
A block statement (or compound statement in other languages) is used to group zero or more statements. The block is delimited by a pair of curly brackets and may optionally be labelled:
821 break JavaScript, Statement
The break statement terminates the current loop, switch, or label statement and transfers program control to the statement following the terminated statement.
822 class Classes, Declaration, ECMAScript 2015, JavaScript, Reference, Statement
The class declaration creates a new class with a given name using prototype-based inheritance.
823 const ECMAScript 2015, JavaScript, Reference, Statement, constants
This declaration creates a constant whose scope can be either global or local to the function in which it is declared. An initializer for a constant is required; that is, you must specify its value in the same statement in which it's declared (which makes sense, given that it can't be changed later).
824 continue JavaScript, Statement
The continue statement terminates execution of the statements in the current iteration of the current or labeled loop, and continues execution of the loop with the next iteration.
825 debugger JavaScript, Statement
The debugger statement invokes any available debugging functionality, such as setting a breakpoint. If no debugging functionality is available, this statement has no effect.
826 default JavaScript, Keyword
The default keyword can be used in two situations in JavaScript: within a switch statement, or with an export statement.
827 do...while JavaScript, Statement
The do...while statement creates a loop that executes a specified statement until the test condition evaluates to false. The condition is evaluated after executing the statement, resulting in the specified statement executing at least once.
828 empty JavaScript, Statement
An empty statement is used to provide no statement, although the JavaScript syntax would expect one.
829 export ECMAScript 2015, JavaScript, Statement
The export statement is used to export functions, objects or primitives from a given file (or module).
830 for JavaScript, Loop, Reference, Statement, for
The for statement creates a loop that consists of three optional expressions, enclosed in parentheses and separated by semicolons, followed by a statement (usually a block statement) to be executed in the loop.
831 for each...in Deprecated, E4X, JavaScript, Obsolete, Statement
The for each...in statement iterates a specified variable over all values of object's properties. For each distinct property, a specified statement is executed.
832 for...in JavaScript, Statement
The for...in statement iterates over the enumerable properties of an object, in original insertion order. For each distinct property, statements can be executed.
833 for...of ECMAScript 2015, JavaScript, Reference, Statement
The for...of statement creates a loop iterating over iterable objects (including Array, Map, Set, String, TypedArray, arguments object and so on), invoking a custom iteration hook with statements to be executed for the value of each distinct property.
834 function declaration JavaScript, Statement
The function declaration defines a function with the specified parameters.
835 function* ECMAScript 2015, Function, Iterator, JavaScript, Statement
The function* declaration (function keyword followed by an asterisk) defines a generator function, which returns a Generator object.
836 if...else JavaScript, Statement
The if statement executes a statement if a specified condition is truthy. If the condition is falsy, another statement can be executed.
837 import ECMAScript 2015, JavaScript, Modules, Statement
The import statement is used to import functions, objects or primitives that have been exported from an external module, another script, etc.
838 label JavaScript, Statement
The labeled statement can be used with break or continue statements. It is prefixing a statement with an identifier which you can refer to.
839 let ECMAScript 2015, JavaScript, Statement, Variable declaration, Variables, let
The let statement declares a block scope local variable, optionally initializing it to a value.
840 return JavaScript, Statement
The return statement ends function execution and specifies a value to be returned to the function caller.
841 switch JavaScript, Reference, Statement, Web
The switch statement evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case.
842 throw JavaScript, Statement
The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists among caller functions, the program will terminate.
843 try...catch Error, Exception, JavaScript, Statement
The try...catch statement marks a block of statements to try, and specifies a response, should an exception be thrown.
844 var JavaScript, Statement
The variable statement declares a variable, optionally initializing it to a value.
845 while JavaScript, Statement
The while statement creates a loop that executes a specified statement as long as the test condition evaluates to true. The condition is evaluated before executing the statement.
846 with Deprecated, JavaScript, Statement
The with statement extends the scope chain for a statement.
847 Strict mode ECMAScript 5, JavaScript, Strict Mode
ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript. Strict mode isn't just a subset: it intentionally has different semantics from normal code. Browsers not supporting strict mode will run strict mode code with different behavior from browsers that do, so don't rely on strict mode without feature-testing for support for the relevant aspects of strict mode. Strict mode code and non-strict mode code can coexist, so scripts can opt into strict mode incrementally.
848 Transitioning to strict mode Advanced, JavaScript
ECMAScript 5 introduced strict mode which is now implemented in all major browsers (including IE10). While making web browsers interpret code as strict is easy (just add 'use strict'; at the top of your source code), transitioning an existing code base to strict mode requires a bit more work.
849 Template literals ECMAScript 2015, JavaScript, Template Strings, Template literals
Template literals are string literals allowing embedded expressions. You can use multi-line strings and string interpolation features with them. They were called "template strings" in prior editions of the ES2015 specification.
850 Trailing commas Comma, ECMAScript2017, ECMAScript5, JavaScript, Syntax, Trailing comma
Trailing commas (sometimes called "final commas") can be useful when adding new elements, parameters, or properties to JavaScript code. If you want to add a new property, you can simply add a new line without modifying the previously last line if that line already uses a trailing comma. This makes version-control diffs cleaner and editing code might be less troublesome.
851 JavaScript shells Extensions, JavaScript, Tools
A JavaScript shell allows you to quickly test snippets of JavaScript code without having to reload a web page. They are extremely useful for developing and debugging code.
852 JavaScript technologies overview Beginner, DOM, JavaScript
Whereas HTML defines a webpage's structure and content and CSS sets the formatting and appearance, JavaScript adds interactivity to a webpage and creates rich web applications.
853 JavaScript typed arrays Guide, JavaScript
JavaScript typed arrays are array-like objects and provide a mechanism for accessing raw binary data. As you may already know, Array objects grow and shrink dynamically and can have any JavaScript value. JavaScript engines perform optimizations so that these arrays are fast. However, as web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data in typed arrays.
854 Memory Management JavaScript, Performance, memory
Low-level languages, like C, have low-level memory management primitives like malloc() and free(). On the other hand, JavaScript values are allocated when things (objects, strings, etc.) are created and "automatically" freed when they are not used anymore. The latter process is called garbage collection. This "automatically" is a source of confusion and gives JavaScript (and other high-level language) developers the impression they can decide not to care about memory management. This is a mistake.
855 New in JavaScript ECMAScript, JavaScript, Versions
This chapter contains information about JavaScript's version history and implementation status for Mozilla/SpiderMonkey-based JavaScript applications, such as Firefox.
856 ECMAScript 2015 support in Mozilla ECMAScript 2015, Firefox, JavaScript
ECMAScript 2015 is the sixth edition of the ECMAScript Language Specification standard. Initially referred to as ECMAScript 6 or ES6, it defines the standard for the JavaScript implementation in SpiderMonkey, the engine used in Firefox and other Mozilla applications.
857 ECMAScript 5 support in Mozilla ECMAScript 5, JavaScript, Versions
ECMAScript 5.1, an older version of the standard upon which JavaScript is based, was approved in June 2011.
858 ECMAScript Next support in Mozilla Firefox, JavaScript
ECMAScript Next refers to new features of the ECMA-262 standard (commonly referred to as JavaScript) introduced after ECMAScript 2015. New versions of ECMAScript specifications are released yearly. This year, the ES2016 specification will be released and the ES2017 is the current ECMAScript draft specification.
859 Firefox JavaScript changelog JavaScript, Versions
The following is a changelog for JavaScript features in Firefox releases.
860 New in JavaScript 1.1 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 2.0 to 3.0. The old Netscape documentation references this as "Features added after version 1". Netscape Navigator 3.0 was released on August 19, 1996. Netscape Navigator 3.0 was the second major version of the browser with JavaScript support.
861 New in JavaScript 1.2 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 3.0 to 4.0. The old Netscape documentation can be found on archive.org. Netscape Navigator 4.0 was released on June 11, 1997. Netscape Navigator 4.0 was the third major version of the browser with JavaScript support.
862 New in JavaScript 1.3 JavaScript, Versions
The following is a changelog for JavaScript from Netscape Navigator 4.0 to 4.5. The old Netscape documentation can be found on archive.org. Netscape Navigator 4.5 was released on October 19, 1998.
863 New in JavaScript 1.4 JavaScript, Versions
The following is a changelog for JavaScript 1.4, which was only used for Netscape's server side JavaScript released in 1999. The old Netscape documentation can be found on archive.org.
864 New in JavaScript 1.5 JavaScript, Versions
The following is a changelog for JavaScript 1.5. This version was included in Netscape Navigator 6.0 was released on November 14, 2000 and was also used in later versions of Netscape Navigator and Firefox 1.0. You can compare JavaScript 1.5 to JScript version 5.5 and Internet Explorer 5.5, which was released in July 2000. The corresponding ECMA standard is ECMA-262 Edition 3 (from December 1999).
865 New in JavaScript 1.6 JavaScript, Versions
The following is a changelog for JavaScript 1.6. This version was included in Firefox 1.5 (Gecko 1.8), which was released in November 2005. The corresponding ECMA standard is ECMA-262 Edition 3 and ECMAScript for XML (E4X) with some additional features. Several new features were introduced: E4X, several new Array methods, and Array and String generics.
866 New in JavaScript 1.7 JavaScript, Versions
The following is a changelog for JavaScript 1.7. This version was included in Firefox 2 (October 2006).
867 New in JavaScript 1.8 JavaScript, Versions
The following is a changelog for JavaScript 1.8. This version was included in Firefox 3 and is part of Gecko 1.9. See bug 380236 for a tracking development bug for JavaScript 1.8.
868 New in JavaScript 1.8.1 Firefox 3.5, JavaScript, Versions
The following is a changelog for JavaScript 1.8.1. This version was included in Firefox 3.5.
869 New in JavaScript 1.8.5 ECMAScript 5, Firefox 4, JavaScript, JavaScript 1.8.5, Versions
The following is a changelog for JavaScript 1.8.5. This version was included in Firefox 4.
870 SIMD types JavaScript, SIMD
The experimental JavaScript SIMD API introduces vector objects that utilize SIMD/SSE instructions on supporting CPUs; SIMD is short for Single Instruction/Multiple Data. SIMD operations are methods that process multiple data with a single instruction. In contrary, scalar operations (SISD) process only one individual data with a single instruction.
871 The performance hazards of [[Prototype]] mutation JavaScript, Performance, performance

Document Tags and Contributors

 Contributors to this page: fscholz, jswisher
 Last updated by: fscholz,