Index

MDN JavaScript pages

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

Found 872 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 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.
30 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.
31 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.
32 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.
33 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.
34 ECMAScript 2015 support in Mozilla ECMAScript 2015, Firefox, JavaScript
ECMAScript 2015 is the sixth edition of the ECMAScript Language Specification standard. It defines the standard for the JavaScript implementation in SpiderMonkey, the engine used in Firefox and other Mozilla applications.
35 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.
36 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.
37 Firefox JavaScript changelog JavaScript, Versions
The following is a changelog for JavaScript features in Firefox releases.
38 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.
39 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.
40 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.
41 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.
42 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).
43 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.
44 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).
45 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.
46 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.
47 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.
48 Referência de JavaScript JavaScript, l10n:priority
Esta parte da seção de JavaScript no MDN serve como um repositório de fatos sobre o idioma JavaScript. Leia mais sobre esta referência.
49 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.
50 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.
51 constructor Classes, ECMAScript 2015, JavaScript
The constructor method is a special method for creating and initializing an object created within a class.
52 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.
53 static Classes, ECMAScript 2015, JavaScript, Static
The static keyword defines a static method for a class.
54 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).
55 The legacy Iterator protocol ES2015, JavaScript, Legacy Iterator
Firefox, prior to version 26 implemented another iterator protocol that is similar to the standard ES2015 Iterator protocol.
56 Expressions and operators JavaScript, Operators
This chapter documents all the JavaScript language operators, expressions and keywords.
57 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 (/).
58 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.
59 Assignment operators JavaScript, Operator
An assignment operator assigns a value to its left operand based on the value of its right operand.
60 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.
61 Comma operator JavaScript, Operator
The comma operator evaluates each of its operands (from left to right) and returns the value of the last operand.
62 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.
63 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.
64 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.
65 Expression closures Functions, JavaScript, Reference
Expression closures are a shorthand function syntax for writing simple functions.
66 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.
67 Grouping operator JavaScript, Operator, Primary Expressions
The grouping operator ( ) controls the precedence of evaluation in expressions.
68 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.
69 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.
70 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 ({}).
71 Operator precedence JavaScript, Operator, precedence
Operator precedence determines the order in which operators are evaluated. Operators with higher precedence are evaluated first.
72 Property accessors JavaScript, Operator
Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
73 Spread syntax ECMAScript 2015, Iterator, JavaScript, Operator
Spread syntax allows an iterable such as an array expression to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.
74 async function expression Experimental, Function, JavaScript, Operator, Primary Expression
The async function keyword can be used to define async functions inside expressions.
75 await Experimental, JavaScript, Operator
The await operator is used to wait for a Promise. It can only be used inside an async function.
76 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.
77 delete operator JavaScript, Operator, Reference, Unary
The delete operator removes a property from an object.
78 function expression Function, JavaScript, Operator, Primary Expressions
The function keyword can be used to define a function inside an expression.
79 function* expression ECMAScript 2015, Function, Iterator, JavaScript, Operator, Primary Expression
The function* keyword can be used to define a generator function inside an expression.
80 in operator JavaScript, Operator, Relational Operators
The in operator returns true if the specified property is in the specified object.
81 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.
82 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.
83 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.
84 super Classes, ECMAScript 2015, JavaScript, Left-hand-side expressions, Operator
The super keyword is used to call functions on an object's parent.
85 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.
86 typeof JavaScript, Operator, Unary
The typeof operator returns a string indicating the type of the unevaluated operand.
87 void operator JavaScript, Operator, Unary
The void operator evaluates the given expression and then returns undefined.
88 yield ECMAScript 2015, Generators, Iterator, JavaScript, Operator
The yield keyword is used to pause and resume a generator function (function* or legacy generator function).
89 yield* ECMAScript 2015, Generators, Iterable, Iterator, JavaScript, Operator, Reference
The yield* expression is used to delegate to another generator or iterable object.
90 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.
91 Arguments object Functions, JavaScript, Reference, arguments
The arguments object is an Array-like object corresponding to the arguments passed to a function.
92 arguments.callee Deprecated, Functions, JavaScript, Property, arguments
The arguments.callee property contains the currently executing function.
93 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.
94 arguments.length Functions, JavaScript, Property, arguments
The arguments.length property contains the number of arguments passed to the function.
95 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.
96 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.
97 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.
98 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.
99 Rest parameters Functions, JavaScript, Rest, Rest parameters
The rest parameter syntax allows us to represent an indefinite number of arguments as an array.
100 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.
101 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.
102 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.
103 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.
104 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.
105 InternalError: too much recursion Errors, InternalError, JavaScript
When there is too much or infinite recursion, JavaScript will throw this error.
106 RangeError: argument is not a valid code point Errors, JavaScript, RangeError
RangeError
107 RangeError: invalid array length Errors, JavaScript, RangeError
RangeError
108 RangeError: invalid date Errors, JavaScript, RangeError
RangeError
109 RangeError: precision is out of range Errors, JavaScript, RangeError
RangeError
110 RangeError: radix must be an integer Errors, JavaScript, RangeError
RangeError
111 RangeError: repeat count must be less than infinity Errors, JavaScript, RangeError
RangeError
112 RangeError: repeat count must be non-negative Errors, JavaScript, RangeError
RangeError
113 ReferenceError: "x" is not defined Error, JavaScript, ReferenceError
ReferenceError.
114 ReferenceError: assignment to undeclared variable "x" Errors, JavaScript, ReferenceError, Strict Mode
ReferenceError warning in strict mode only.
115 ReferenceError: can't access lexical declaration`X' before initialization JavaScript
ReferenceError
116 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.
117 ReferenceError: invalid assignment left-hand side Errors, JavaScript, ReferenceError
ReferenceError.
118 ReferenceError: reference to undefined property "x" Errors, JavaScript, ReferenceError, Strict Mode
ReferenceError warning in strict mode only.
119 SyntaxError: "0"-prefixed octal literals and octal escape seq. are deprecated Error, JavaScript, Strict Mode, SyntaxError
SyntaxError in strict mode only.
120 SyntaxError: "use strict" not allowed in function with non-simple parameters Errors, JavaScript, TypeError
SyntaxError.
121 SyntaxError: "x" is a reserved identifier Error, Errors, JavaScript, SyntaxError
SyntaxError
122 SyntaxError: JSON.parse: bad parsing Errors, JSON, JavaScript, Method, Property, SyntaxError
SyntaxError
123 SyntaxError: Malformed formal parameter Errors, JavaScript, SyntaxError
SyntaxError
124 SyntaxError: Unexpected token Errors, JavaScript, SyntaxError
SyntaxError
125 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.
126 SyntaxError: a declaration in the head of a for-of loop can't have an initializer Error, JavaScript, SyntaxError
SyntaxError
127 SyntaxError: applying the 'delete' operator to an unqualified name is deprecated Error, Errors, JavaScript, SyntaxError
SyntaxError in strict mode only.
128 SyntaxError: for-in loop head declarations may not have initializers Error, JavaScript, Strict Mode, SyntaxError
SyntaxError in strict mode only.
129 SyntaxError: function statement requires a name Error, Errors, JavaScript, SyntaxError
SyntaxError
130 SyntaxError: identifier starts immediately after numeric literal Error, Errors, JavaScript, SyntaxError
SyntaxError
131 SyntaxError: illegal character Error, Errors, JavaScript, SyntaxError
SyntaxError
132 SyntaxError: invalid regular expression flag "x" Error, JavaScript, SyntaxError
SyntaxError
133 SyntaxError: missing ) after argument list Errors, JavaScript, SyntaxError
SyntaxError.
134 SyntaxError: missing ) after condition Error, Errors, JavaScript, SyntaxError
SyntaxError
135 SyntaxError: missing : after property id Error, Errors, JavaScript, SyntaxError
SyntaxError
136 SyntaxError: missing ; before statement Errors, JavaScript, SyntaxError
SyntaxError.
137 SyntaxError: missing = in const declaration Error, JavaScript, SyntaxError
SyntaxError
138 SyntaxError: missing ] after element list Errors, JavaScript, SyntaxError
SyntaxError.
139 SyntaxError: missing formal parameter Error, Errors, JavaScript, SyntaxError
SyntaxError
140 SyntaxError: missing name after . operator Error, Errors, JavaScript, SyntaxError
SyntaxError
141 SyntaxError: missing variable name Error, Errors, JavaScript, SyntaxError
SyntaxError
142 SyntaxError: missing } after function body Error, Errors, JavaScript, SyntaxError
SyntaxError
143 SyntaxError: missing } after property list Errors, JavaScript, SyntaxError
SyntaxError
144 SyntaxError: redeclaration of formal parameter "x" Errors, JavaScript, SyntaxError
SyntaxError
145 SyntaxError: return not in function Errors, JavaScript, SyntaxError
SyntaxError.
146 SyntaxError: test for equality (==) mistyped as assignment (=)? Errors, JavaScript, SyntaxError
SyntaxError warning in strict mode only.
147 SyntaxError: unterminated string literal Errors, JavaScript, SyntaxError
SyntaxError
148 TypeError: "x" has no properties Errors, JavaScript, TypeError
TypeError.
149 TypeError: "x" is (not) "y" Errors, JavaScript, TypeError
TypeError.
150 TypeError: "x" is not a constructor Errors, JavaScript, TypeError
TypeError
151 TypeError: "x" is not a function Errors, JavaScript, TypeError
TypeError.
152 TypeError: "x" is not a non-null object Error, Errors, JavaScript, TypeError
TypeError
153 TypeError: "x" is read-only Errors, JavaScript, TypeError
TypeError
154 TypeError: More arguments needed Errors, JavaScript, TypeError
TypeError.
155 TypeError: can't access dead object Addons, Error, Errors, JavaScript
TypeError
156 TypeError: can't define property "x": "obj" is not extensible Error, Errors, JavaScript, TypeError
TypeError
157 TypeError: can't delete non-configurable array element Error, Errors, JavaScript, TypeError
TypeError
158 TypeError: can't redefine non-configurable property "x" Error, Errors, JavaScript, TypeError
TypeError
159 TypeError: cyclic object value Error, Errors, JavaScript, TypeError
TypeError
160 TypeError: invalid 'in' operand "x" Error, Errors, JavaScript, TypeError
TypeError
161 TypeError: invalid Array.prototype.sort argument Errors, JavaScript, TypeError
TypeError
162 TypeError: invalid arguments Error, Errors, JavaScript, TypeError
TypeError
163 TypeError: invalid assignment to const "x" Error, JavaScript, TypeError
TypeError
164 TypeError: property "x" is non-configurable and can't be deleted Errors, JavaScript, Strict Mode, TypeError
TypeError in strict mode only.
165 TypeError: setting getter-only property "x" Error, Errors, JavaScript, Strict Mode, TypeError
TypeError in strict mode only.
166 TypeError: variable "x" redeclares argument Errors, JavaScript, Strict Mode, TypeError
TypeError warning in strict mode only.
167 URIError: malformed URI sequence Error, Errors, JavaScript, URIError
URIError
168 Warning: -file- is being assigned a //# sourceMappingURL, but already has one Errors, JavaScript, Source maps, Warning
A warning. JavaScript execution won't be halted.
169 Warning: 08/09 is not a legal ECMA-262 octal constant Errors, JavaScript, SyntaxError, Warning
Warning. JavaScript execution won't be halted.
170 Warning: Date.prototype.toLocaleFormat is deprecated JavaScript, Warning
Warning. JavaScript execution won't be halted.
171 Warning: JavaScript 1.6's for-each-in loops are deprecated JavaScript, Warning
Warning
172 Warning: String.x is deprecated; use String.prototype.x instead JavaScript, Warning
Warning. JavaScript execution won't be halted.
173 Warning: expression closures are deprecated JavaScript, Warning
Warning. JavaScript execution won't be halted.
174 Warning: unreachable code after return statement JavaScript, Warning
Warning
175 JavaScript methods index JavaScript
This article entails a listing of all JavaScript methods documented on MDN sorted alphabetically.
176 JavaScript properties index JavaScript
This article entails a listing of all JavaScript properties documented on MDN sorted alphabetically.
177 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.
178 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.
179 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.
180 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.
181 Array.isArray() Array, ECMAScript 5, JavaScript, Method, Reference, polyfill
The Array.isArray() function determines whether the passed value is an Array.
182 Array.length Array, JavaScript, Property, Reference
Technical review completed.
183 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.
184 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.
185 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.
186 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.
187 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.
188 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.
189 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.
190 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.
191 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.
192 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.
193 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.
194 Array.prototype.forEach() Array, ECMAScript 5, JavaScript, Method, Prototype, Reference
The forEach() method executes a provided function once for each array element.
195 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.
196 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.
197 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.
198 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.
199 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.
200 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.
201 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.
202 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.
203 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.
204 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.
205 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.
206 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.
207 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.
208 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.
209 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.
210 Array.prototype.splice() Array, JavaScript, Method, Prototype, Reference
Editorial review completed.
211 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 “,”).
212 Array.prototype.toSource() Array, JavaScript, Method, Prototype
The toSource() method returns a string representing the source code of the array.
213 Array.prototype.toString() Array, JavaScript, Method, Prototype
The toString() method returns a string representing the specified array and its elements.
214 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.
215 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.
216 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.
217 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.
218 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.
219 get Array[@@species] Array, JavaScript, Method, Prototype
The Array[@@species] accessor property returns the Array constructor.
220 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.
221 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.
222 ArrayBuffer.prototype ArrayBuffer, JavaScript, Property
The ArrayBuffer.prototype property represents the prototype for the ArrayBuffer object.
223 ArrayBuffer.prototype.byteLength ArrayBuffer, JavaScript, Property, Prototype
The byteLength accessor property represents the length of an ArrayBuffer in bytes.
224 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.
225 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.
226 get ArrayBuffer[@@species] ArrayBuffer, JavaScript, Property, TypedArrays
The ArrayBuffer[@@species] accessor property returns the ArrayBuffer constructor.
227 AsyncFunction Constructor, Experimental, JavaScript, Reference
The AsyncFunction constructor creates a new async function object. In JavaScript every asynchronous function is actually an AsyncFunction object.
228 AsyncFunction.prototype Experimental, JavaScript, Property, Prototype, Reference
The AsyncFunction.prototype property represents the AsyncFunction prototype object.
229 Atomics JavaScript, Shared Memory, Specifications
The Atomics object provides atomic operations as static methods. They are used with SharedArrayBuffer objects.
230 Atomics.add() Atomics, 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.
231 Atomics.and() Atomics, 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.
232 Atomics.compareExchange() Atomics, 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.
233 Atomics.exchange() Atomics, 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.
234 Atomics.isLockFree() Atomics, 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.
235 Atomics.load() Atomics, 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.
236 Atomics.or() Atomics, 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.
237 Atomics.store() Atomics, 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.
238 Atomics.sub() Atomics, 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.
239 Atomics.wait() Atomics, 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".
240 Atomics.wake() Atomics, JavaScript, Method, Shared Memory
The static Atomics.wake() method wakes up some agents that are sleeping in the wait queue.
241 Atomics.xor() Atomics, 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.
242 Boolean Boolean, Constructor, JavaScript
The Boolean object is an object wrapper for a boolean value.
243 Boolean.prototype Boolean, JavaScript, Property, Prototype
The Boolean.prototype property represents the prototype for the Boolean constructor.
244 Boolean.prototype.toSource() Boolean, JavaScript, Method, Prototype
The toSource() method returns a string representing the source code of the object.
245 Boolean.prototype.toString() Boolean, JavaScript, Method, Prototype
The toString() method returns a string representing the specified Boolean object.
246 Boolean.prototype.valueOf() Boolean, JavaScript, Method, Prototype
The valueOf() method returns the primitive value of a Boolean object.
247 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.
248 DataView.prototype DataView, JavaScript, Property
The DataView.prototype property represents the prototype for the DataView object.
249 DataView.prototype.buffer DataView, JavaScript, Property, Prototype, TypedArrays
The buffer accessor property represents the ArrayBuffer or SharedArrayBuffer referenced by the DataView at construction time.
250 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.
251 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.
252 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.
253 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.
254 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.
255 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.
256 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.
257 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.
258 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.
259 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.
260 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.
261 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.
262 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.
263 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.
264 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.
265 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.
266 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.
267 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.
268 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.
269 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.
270 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.
271 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 unrecognized or, in some cases, contains illegal date values (e.g. 2015-02-31).
272 Date.prototype Date, JavaScript, Property, Prototype, Reference
The Date.prototype property represents the prototype for the Date constructor.
273 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.
274 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().
275 Date.prototype.getFullYear() Date, JavaScript, Method, Prototype, Reference
The getFullYear() method returns the year of the specified date according to local time.
276 Date.prototype.getHours() Date, JavaScript, Method, Prototype, Reference
The getHours() method returns the hour for the specified date, according to local time.
277 Date.prototype.getMilliseconds() Date, JavaScript, Method, Prototype, Reference
The getMilliseconds() method returns the milliseconds in the specified date according to local time.
278 Date.prototype.getMinutes() Date, JavaScript, Method, Prototype, Reference
The getMinutes() method returns the minutes in the specified date according to local time.
279 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).
280 Date.prototype.getSeconds() Date, JavaScript, Method, Prototype, Reference
The getSeconds() method returns the seconds in the specified date according to local time.
281 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.
282 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.
283 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.
284 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.
285 Date.prototype.getUTCFullYear() Date, JavaScript, Method, Prototype, Reference
The getUTCFullYear() method returns the year in the specified date according to universal time.
286 Date.prototype.getUTCHours() Date, JavaScript, Method, Prototype, Reference
The getUTCHours() method returns the hours in the specified date according to universal time.
287 Date.prototype.getUTCMilliseconds() Date, JavaScript, Method, Prototype, Reference
The getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time.
288 Date.prototype.getUTCMinutes() Date, JavaScript, Method, Prototype, Reference
The getUTCMinutes() method returns the minutes in the specified date according to universal time.
289 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).
290 Date.prototype.getUTCSeconds() Date, JavaScript, Method, Prototype, Reference
The getUTCSeconds() method returns the seconds in the specified date according to universal time.
291 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.
292 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.
293 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.
294 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.
295 Date.prototype.setMilliseconds() Date, JavaScript, Method, Prototype, Reference
The setMilliseconds() method sets the milliseconds for a specified date according to local time.
296 Date.prototype.setMinutes() Date, JavaScript, Method, Prototype, Reference
The setMinutes() method sets the minutes for a specified date according to local time.
297 Date.prototype.setMonth() Date, JavaScript, Method, Prototype, Reference
The setMonth() method sets the month for a specified date according to the currently set year.
298 Date.prototype.setSeconds() Date, JavaScript, Method, Prototype, Reference
The setSeconds() method sets the seconds for a specified date according to local time.
299 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.
300 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.
301 Date.prototype.setUTCFullYear() Date, JavaScript, Method, Prototype, Reference
The setUTCFullYear() method sets the full year for a specified date according to universal time.
302 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.
303 Date.prototype.setUTCMilliseconds() Date, JavaScript, Method, Prototype, Reference
The setUTCMilliseconds() method sets the milliseconds for a specified date according to universal time.
304 Date.prototype.setUTCMinutes() Date, JavaScript, Method, Prototype, Reference
The setUTCMinutes() method sets the minutes for a specified date according to universal time.
305 Date.prototype.setUTCMonth() Date, JavaScript, Method, Prototype, Reference
The setUTCMonth() method sets the month for a specified date according to universal time.
306 Date.prototype.setUTCSeconds() Date, JavaScript, Method, Prototype, Reference
The setUTCSeconds() method sets the seconds for a specified date according to universal time.
307 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.
308 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.
309 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.
310 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".
311 Date.prototype.toJSON() Date, JavaScript, Method, Prototype, Reference
The toJSON() method returns a string representation of the Date object.
312 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.
313 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().
314 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.
315 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.
316 Date.prototype.toSource() Date, JavaScript, Method, Prototype, Reference
The toSource() method returns a string representing the source code of the object.
317 Date.prototype.toString() Date, JavaScript, Method, Prototype, Reference
The toString() method returns a string representing the specified Date object.
318 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.
319 Date.prototype.toUTCString() Date, JavaScript, Method, Prototype, Reference
The toUTCString() method converts a date to a string, using the UTC time zone.
320 Date.prototype.valueOf() Date, JavaScript, Method, Prototype, Reference
The valueOf() method returns the primitive value of a Date object.
321 Date.prototype[@@toPrimitive] Date, JavaScript, Method, Prototype, Reference
The [@@toPrimitive]() method converts a Date object to a primitive value.
322 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.
323 Error.prototype Error, JavaScript, Property
The Error.prototype property represents the prototype for the Error constructor.
324 Error.prototype.columnNumber Error, JavaScript, Property, Prototype
The columnNumber property contains the column number in the line of the file that raised this error.
325 Error.prototype.fileName Error, JavaScript, Property, Prototype
The fileName property contains the path to the file that raised this error.
326 Error.prototype.lineNumber Error, JavaScript, Property, Prototype, Reference
The lineNumber property contains the line number in the file that raised this error.
327 Error.prototype.message Error, JavaScript, Property, Prototype
The message property is a human-readable description of the error.
328 Error.prototype.name Error, JavaScript, Property, Prototype
The name property represents a name for the type of error. The initial value is "Error".
329 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.
330 Error.prototype.toSource() Error, JavaScript, Method, Prototype
The toSource() method returns code that could eval to the same error.
331 Error.prototype.toString() Error, JavaScript, Method, Prototype
The toString() method returns a string representing the specified Error object.
332 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.
333 EvalError.prototype Error, EvalError, JavaScript, Property
The EvalError.prototype property represents the prototype of the EvalError constructor.
334 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).
335 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).
336 Function Constructor, Function, JavaScript
The Function constructor creates a new Function object. In JavaScript every function is actually a Function object.
337 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.
338 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.
339 Function.caller Function, JavaScript, Property
The function.caller property returns the function that invoked the specified function.
340 Function.displayName Function, JavaScript, Non Standard, Non-standard, Property
The function.displayName property returns the display name of the function.
341 Function.length Function, JavaScript, Property
The length property specifies the number of arguments expected by the function.
342 Function.name ECMAScript 2015, Function, JavaScript, Property
The function.name property returns the name of the function.
343 Function.prototype Function, JavaScript, Property, Prototype
The Function.prototype property represents the Function prototype object.
344 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).
345 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.
346 Function.prototype.call() Function, JavaScript, Method
The call() method calls a function with a given this value and arguments provided individually.
347 Function.prototype.isGenerator() Function, JavaScript, Method
The isGenerator() method determines whether or not a function is a generator.
348 Function.prototype.toSource() Function, JavaScript, Method
The toSource() method returns a string representing the source code of the object.
349 Function.prototype.toString() Function, JavaScript, Method, Prototype
The toString() method returns a string representing the source code of the function.
350 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.
351 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.
352 Generator.prototype.return() ECMAScript 2015, Generator, JavaScript, Method, Prototype, Reference
The return() method returns the given value and finishes the generator.
353 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.
354 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.
355 GeneratorFunction.prototype ECMAScript 2015, GeneratorFunction, Iterator, JavaScript, Property, Prototype, Reference
The GeneratorFunction.prototype property represents the GeneratorFunction prototype object.
356 Infinity JavaScript
The global Infinity property is a numeric value representing infinity.
357 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).
358 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).
359 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).
360 InternalError Error, InternalError, JavaScript
The InternalError object indicates an error that occurred internally in the JavaScript engine. For example: "InternalError: too much recursion".
361 InternalError.prototype Error, InternalError, JavaScript, Property
The InternalError.prototype property represents the prototype of the InternalError constructor.
362 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.
363 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.
364 Intl.Collator Collator, Internationalization, JavaScript
The Intl.Collator object is a constructor for collators, objects that enable language sensitive string comparison.
365 Intl.Collator.prototype Collator, Internationalization, JavaScript, Property, Prototype
The Intl.Collator.prototype property represents the prototype object for the Intl.Collator constructor.
366 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.
367 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.
368 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.
369 Intl.DateTimeFormat DateTimeFormat, Internationalization, JavaScript
The Intl.DateTimeFormat object is a constructor for objects that enable language sensitive date and time formatting.
370 Intl.DateTimeFormat.prototype DateTimeFormat, Internationalization, JavaScript, Property, Prototype
The Intl.DateTimeFormat.prototype property represents the prototype object for the Intl.DateTimeFormat constructor.
371 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.
372 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.
373 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.
374 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.
375 Intl.NumberFormat Internationalization, JavaScript, NumberFormat
The Intl.NumberFormat object is a constructor for objects that enable language sensitive number formatting.
376 Intl.NumberFormat.prototype Internationalization, JavaScript, NumberFormat, Property, Prototype
The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor.
377 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.
378 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.
379 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.
380 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.
381 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.
382 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.
383 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.
384 Map ECMAScript 2015, JavaScript, Map
The Map object holds key-value pairs.
385 Map.prototype ECMAScript 2015, JavaScript, Map, Property
The Map.prototype property represents the prototype for the Map constructor.
386 Map.prototype.clear() ECMAScript 2015, JavaScript, Map, Method, Prototype
The clear() method removes all elements from a Map object.
387 Map.prototype.delete() ECMAScript 2015, JavaScript, Map, Method, Prototype
The delete() method removes the specified element from a Map object.
388 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.
389 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.
390 Map.prototype.get() ECMAScript 2015, JavaScript, Map, Method, Prototype
The get() method returns a specified element from a Map object.
391 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.
392 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.
393 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.
394 Map.prototype.size ECMAScript 2015, JavaScript, Map, Property
The size accessor property returns the number of elements in a Map object.
395 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.
396 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.
397 Map.prototype[@@toStringTag] ECMAScript 2015, JavaScript, Map, Property, Prototype, Reference
The Map[@@toStringTag] property has an initial value of "Map".
398 get Map[@@species] ECMAScript 2015, JavaScript, Map, Property
The Map[@@species] accessor property returns the Map constructor.
399 Math JavaScript, Math, Reference
Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object.
400 Math.E JavaScript, Math, Property, Reference
The Math.E property represents the base of natural logarithms, e, approximately 2.718.
401 Math.LN10 JavaScript, Math, Property, Reference
The Math.LN10 property represents the natural logarithm of 10, approximately 2.302:
402 Math.LN2 JavaScript, Math, Property, Reference
The Math.LN2 property represents the natural logarithm of 2, approximately 0.693:
403 Math.LOG10E JavaScript, Math, Property, Reference
The Math.LOG10E property represents the base 10 logarithm of e, approximately 0.434:
404 Math.LOG2E JavaScript, Math, Property, Reference
The Math.LOG2E property represents the base 2 logarithm of e, approximately 1.442:
405 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:
406 Math.SQRT1_2 JavaScript, Math, Property, Reference
The Math.SQRT1_2 property represents the square root of 1/2 which is approximately 0.707:
407 Math.SQRT2 JavaScript, Math, Property, Reference
The Math.SQRT2 property represents the square root of 2, approximately 1.414:
408 Math.abs() JavaScript, Math, Method, Reference
The Math.abs() function returns the absolute value of a number, that is
409 Math.acos() JavaScript, Math, Method, Reference
The Math.acos() function returns the arccosine (in radians) of a number, that is
410 Math.acosh() JavaScript, Math, Method, Reference
The Math.acosh() function returns the hyperbolic arc-cosine of a number, that is
411 Math.asin() JavaScript, Math, Method, Reference
The Math.asin() function returns the arcsine (in radians) of a number, that is
412 Math.asinh() JavaScript, Math, Method, Reference
The Math.asinh() function returns the hyperbolic arcsine of a number, that is
413 Math.atan() JavaScript, Math, Method, Reference
The Math.atan() function returns the arctangent (in radians) of a number, that is
414 Math.atan2() JavaScript, Math, Method, Reference
The Math.atan2() function returns the arctangent of the quotient of its arguments.
415 Math.atanh() JavaScript, Math, Method, Reference
The Math.atanh() function returns the hyperbolic arctangent of a number, that is
416 Math.cbrt() JavaScript, Math, Method, Reference
The Math.cbrt() function returns the cube root of a number, that is
417 Math.ceil() JavaScript, Math, Method, Reference
The Math.ceil() function returns the smallest integer greater than or equal to a given number.
418 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.
419 Math.cos() JavaScript, Math, Method, Reference
The Math.cos() function returns the cosine of a number.
420 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:
421 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.
422 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.
423 Math.floor() JavaScript, Math, Method, Reference
The Math.floor() function returns the largest integer less than or equal to a given number.
424 Math.fround() JavaScript, Math, Method, Reference
The Math.fround() function returns the nearest single precision float representation of a number.
425 Math.hypot() JavaScript, Math, Method, Reference
The Math.hypot() function returns the square root of the sum of squares of its arguments, that is
426 Math.imul() JavaScript, Math, Method, Reference
The Math.imul() function returns the result of the C-like 32-bit multiplication of the two parameters.
427 Math.log() JavaScript, Math, Method, Reference
The Math.log() function returns the natural logarithm (base e) of a number, that is
428 Math.log10() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log10() function returns the base 10 logarithm of a number, that is
429 Math.log1p() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log1p() function returns the natural logarithm (base e) of 1 + a number, that is
430 Math.log2() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.log2() function returns the base 2 logarithm of a number, that is
431 Math.max() JavaScript, Math, Method, Reference
The Math.max() function returns the largest of zero or more numbers.
432 Math.min() JavaScript, Math, Method, Reference
The Math.min() function returns the smallest of zero or more numbers.
433 Math.pow() JavaScript, Math, Method, Reference
The Math.pow() function returns the base to the exponent power, that is, baseexponent.
434 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.
435 Math.round() JavaScript, Math, Method, Number, Reference
The Math.round() function returns the value of a number rounded to the nearest integer.
436 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.
437 Math.sin() JavaScript, Math, Method, Reference
The Math.sin() function returns the sine of a number.
438 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:
439 Math.sqrt() JavaScript, Math, Method, Reference
The Math.sqrt() function returns the square root of a number, that is
440 Math.tan() JavaScript, Math, Method, Reference
The Math.tan() function returns the tangent of a number.
441 Math.tanh() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.tanh() function returns the hyperbolic tangent of a number, that is
442 Math.trunc() ECMAScript 2015, JavaScript, Math, Method, Reference
The Math.trunc() function returns the integer part of a number by removing any fractional digits.
443 NaN JavaScript, Property
The global NaN property is a value representing Not-A-Number.
444 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.
445 Number.EPSILON ECMAScript 2015, JavaScript, Number, Property
The Number.EPSILON property represents the difference between 1 and the smallest floating point number greater than 1.
446 Number.MAX_SAFE_INTEGER ECMAScript 2015, JavaScript, Number, Property
The Number.MAX_SAFE_INTEGER constant represents the maximum safe integer in JavaScript (253 - 1).
447 Number.MAX_VALUE JavaScript, Number, Property
The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript.
448 Number.MIN_SAFE_INTEGER ECMAScript 2015, JavaScript, Number, Property
The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(253 - 1)).
449 Number.MIN_VALUE JavaScript, Number, Property
The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript.
450 Number.NEGATIVE_INFINITY JavaScript, Number, Property
The Number.NEGATIVE_INFINITY property represents the negative Infinity value.
451 Number.NaN JavaScript, Number, Property
The Number.NaN property represents Not-A-Number. Equivalent of NaN.
452 Number.POSITIVE_INFINITY JavaScript, Number, Property
The Number.POSITIVE_INFINITY property represents the positive Infinity value.
453 Number.isFinite() JavaScript, Method, Number, Reference
The Number.isFinite() method determines whether the passed value is a finite number.
454 Number.isInteger() JavaScript, Method, Number, Reference
The Number.isInteger() method determines whether the passed value is an integer.
455 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().
456 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
457 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).
458 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.
459 Number.prototype JavaScript, Number, Property, Prototype
The Number.prototype property represents the prototype for the Number constructor.
460 Number.prototype.toExponential() JavaScript, Method, Number, Prototype
The toExponential() method returns a string representing the Number object in exponential notation.
461 Number.prototype.toFixed() JavaScript, Method, Number, Prototype
The toFixed() method formats a number using fixed-point notation.
462 Number.prototype.toLocaleString() Internationalization, JavaScript, Method, Number, Prototype
The toLocaleString() method returns a string with a language sensitive representation of this number.
463 Number.prototype.toPrecision() JavaScript, Method, Number, Prototype
The toPrecision() method returns a string representing the Number object to the specified precision.
464 Number.prototype.toSource() JavaScript, Method, Number, Prototype
The toSource() method returns a string representing the source code of the object.
465 Number.prototype.toString() JavaScript, Method, Number, Prototype
The toString() method returns a string representing the specified Number object.
466 Number.prototype.valueOf() JavaScript, Method, Number, Prototype
The valueOf() method returns the wrapped primitive value of a Number object.
467 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.
468 Object Constructor, JavaScript, Object
The Object constructor creates an object wrapper.
469 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.
470 Object.create() ECMAScript 5, JavaScript, Method, Object, Reference, polyfill
The Object.create() method creates a new object with the specified prototype object and properties.
471 Object.defineProperties() ECMAScript 5, JavaScript, Method, Object
The Object.defineProperties() method defines new or modifies existing properties directly on an object, returning the object.
472 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.
473 Additional examples for Object.defineProperty Examples, JavaScript, Object
This page provides additional examples for Object.defineProperty().
474 Object.entries() 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).
475 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, it also prevents the prototype from being changed.  The method returns the object in a frozen state.
476 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.
477 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.
478 Object.getOwnPropertyDescriptors() JavaScript, Method, Object
The Object.getOwnPropertyDescriptors() method returns all own property descriptors of a given object.
479 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.
480 Object.getOwnPropertySymbols() ECMAScript 2015, JavaScript, Method, Object
The Object.getOwnPropertySymbols() method returns an array of all symbol properties found directly upon a given object.
481 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.
482 Object.is() Comparison, Condition, Conditional, ECMAScript 2015, Equality, JavaScript, Method, Object
The Object.is() method determines whether two values are the same value.
483 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).
484 Object.isFrozen() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.isFrozen() determines if an object is frozen.
485 Object.isSealed() ECMAScript 5, JavaScript, JavaScript 1.8.5, Method, Object
The Object.isSealed() method determines if an object is sealed.
486 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).
487 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.
488 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).
489 Object.prototype JavaScript, Object, Property
The Object.prototype property represents the Object prototype object.
490 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.
491 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.
492 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.
493 Object.prototype.__lookupGetter__() Deprecated, JavaScript, Method, Object, Prototype
The __lookupGetter__ method returns the function bound as a getter to the specified property.
494 Object.prototype.__lookupSetter__() Deprecated, JavaScript, Method, Object, Prototype
The __lookupSetter__ method returns the function bound as a setter to the specified property.
495 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.
496 Object.prototype.__parent__ JavaScript, Object, Obsolete, Property, Prototype
The __parent__ property used to point to an object's context, but it has been removed.
497 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.
498 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".
499 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.
500 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.
501 Object.prototype.isPrototypeOf() JavaScript, Method, Object, Prototype, Reference, isPrototype
The isPrototypeOf() method checks if an object exists in another object's prototype chain.
502 Object.prototype.propertyIsEnumerable() JavaScript, Method, Object, Prototype
The propertyIsEnumerable() method returns a Boolean indicating whether the specified property is enumerable.
503 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.
504 Object.prototype.toSource() JavaScript, Method, Object, Prototype
The toSource() method returns a string representing the source code of the object.
505 Object.prototype.toString() JavaScript, Method, Object, Prototype
The toString() method returns a string representing the object.
506 Object.prototype.unwatch() JavaScript, Method, Object, Prototype, Reference
The unwatch() method removes a watchpoint set with the watch() method.
507 Object.prototype.valueOf() JavaScript, Method, Object, Prototype
The valueOf() method returns the primitive value of the specified object.
508 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.
509 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.
510 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.
511 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.
512 Object.values() 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).
513 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.
514 Promise ECMAScript 2015, JavaScript, Promise
The Promise object represents the eventual completion (or failure) of an asynchronous operation, and its resulting value.
515 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.
516 Promise.prototype JavaScript, Promise, Property
The Promise.prototype property represents the prototype for the Promise constructor.
517 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)).
518 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.
519 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.
520 Promise.reject() ECMAScript 2015, JavaScript, Method, Promise
The Promise.reject(reason) method returns a Promise object that is rejected with the given reason.
521 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.
522 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).
523 Proxy handler ECMAScript 2015, JavaScript, Proxy
The proxy's handler object is a placeholder object which contains traps for proxies.
524 handler.apply() ECMAScript 2015, JavaScript, Method, Proxy
The handler.apply() method is a trap for a function call.
525 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).
526 handler.defineProperty() ECMAScript 2015, JavaScript, Method, Proxy
The handler.defineProperty() method is a trap for Object.defineProperty().
527 handler.deleteProperty() ECMAScript 2015, JavaScript, Method, Proxy
The handler.deleteProperty() method is a trap for the delete operator.
528 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.
529 handler.get() ECMAScript 2015, JavaScript, Method, Proxy
The handler.get() method is a trap for getting a property value.
530 handler.getOwnPropertyDescriptor() ECMAScript 2015, JavaScript, Method, Proxy
The handler.getOwnPropertyDescriptor() method is a trap for Object.getOwnPropertyDescriptor().
531 handler.getPrototypeOf() ECMAScript 2015, JavaScript, Method, Proxy
The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] internal method.
532 handler.has() ECMAScript 2015, JavaScript, Method, Proxy
The handler.has() method is a trap for the in operator.
533 handler.isExtensible() ECMAScript 2015, JavaScript, Method, Proxy
The handler.isExtensible() method is a trap for Object.isExtensible().
534 handler.ownKeys() ECMAScript 2015, JavaScript, Method, Proxy
The handler.ownKeys() method is a trap for Reflect.ownKeys().
535 handler.preventExtensions() ECMAScript 2015, JavaScript, Method, Proxy
The handler.preventExtensions() method is a trap for Object.preventExtensions().
536 handler.set() ECMAScript 2015, JavaScript, Method, Proxy
The handler.set() method is a trap for setting a property value.
537 handler.setPrototypeOf() ECMAScript 2015, JavaScript, Method, Prototype, Proxy
The handler.setPrototypeOf() method is a trap for Object.setPrototypeOf().
538 Proxy.revocable() ECMAScript 2015, JavaScript, Method, Proxy
The Proxy.revocable() method is used to create a revocable Proxy object.
539 RangeError Error, JavaScript, Object, RangeError
The RangeError object indicates an error when a value is not in the set or range of allowed values.
540 RangeError.prototype Error, JavaScript, Property, Prototype, RangeError
The RangeError.prototype property represents the prototype the RangeError constructor.
541 ReferenceError Error, JavaScript, Object, Reference, ReferenceError
The ReferenceError object represents an error when a non-existent variable is referenced.
542 ReferenceError.prototype Error, JavaScript, Property, Prototype, ReferenceError, prototype
The ReferenceError.prototype property represents the prototype for the ReferenceError constructor.
543 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.
544 Reflect.apply() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.apply() method calls a target function with arguments as specified.
545 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).
546 Reflect.defineProperty() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.defineProperty() method is like Object.defineProperty() but returns a Boolean.
547 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.
548 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.
549 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.
550 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.
551 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.
552 Reflect.has() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.has() method works like the in operator as a function.
553 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.
554 Reflect.ownKeys() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.ownKeys() method returns an array of the target object's own property keys.
555 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.
556 Reflect.set() ECMAScript 2015, JavaScript, Method, Reflect
The static Reflect.set() method works like setting a property on an object.
557 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.
558 RegExp Constructor, JavaScript, Reference, RegExp, Regular Expressions
The RegExp constructor creates a regular expression object for matching text with a pattern.
559 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.
560 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.
561 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.
562 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.
563 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.
564 RegExp.prototype JavaScript, Property, Prototype, Reference, RegExp
The RegExp.prototype property represents the prototype object for the RegExp constructor.
565 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.
566 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.
567 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.
568 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.
569 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.
570 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.
571 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.
572 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.
573 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.
574 RegExp.prototype.toSource() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The toSource() method returns a string representing the source code of the object.
575 RegExp.prototype.toString() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The toString() method returns a string representing the regular expression.
576 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.
577 RegExp.prototype[@@match]() JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions
The [@@match]() method retrieves the matches when matching a string against a regular expression.
578 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.
579 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.
580 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.
581 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.
582 get RegExp[@@species] JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions
The RegExp[@@species] accessor property returns the RegExp constructor.
583 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.
584 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.
585 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.
586 SIMD.%type%.add() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.add() method returns a new instance with the lane values added (a + b).
587 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.
588 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.
589 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.
590 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.
591 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.
592 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.
593 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.
594 SIMD.%type%.extractLane() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.extractLane() method returns the value of a given lane.
595 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.
596 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.
597 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.
598 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.
599 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.
600 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.
601 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.
602 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.
603 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.
604 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.
605 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.
606 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.
607 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.
608 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.
609 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.
610 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.
611 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)).
612 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.
613 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)).
614 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.
615 SIMD.%type%.mul() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.mul() method returns a new instance with the lane values multiplied (a * b).
616 SIMD.%type%.neg() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.mul() method returns a new instance with the lane values negated.
617 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.
618 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.
619 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.
620 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.
621 SIMD.%type%.prototype.toString() Experimental, JavaScript, Method, SIMD
The SIMD.%type%.toString() method returns a String representing a SIMD object.
622 SIMD.%type%.prototype.valueOf() Experimental, JavaScript, Method, SIMD
The SIMD.%type%.valueOf() method performs a type check returns the this value.
623 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).
624 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.
625 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.
626 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.
627 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).
628 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:
629 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.
630 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.
631 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).
632 SIMD.%type%.store() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.store() methods store a SIMD data type into a typed array.
633 SIMD.%type%.sub() Experimental, JavaScript, Method, SIMD
The static SIMD.%type%.sub() method returns a new instance with the lane values subtracted (a - b).
634 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.
635 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).
636 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).
637 SIMD.Bool16x8 Experimental, JavaScript, SIMD
The SIMD.Bool16x8 data type is a 128-bit vector divided into 8 lanes storing boolean values.
638 SIMD.Bool32x4 Experimental, JavaScript, SIMD
The SIMD.Bool32x4 data type is a 128-bit vector divided into 4 lanes storing boolean values.
639 SIMD.Bool64x2 Experimental, JavaScript, SIMD
The SIMD.Bool64x2 data type is a 128-bit vector divided into 2 lanes storing boolean values.
640 SIMD.Bool8x16 Experimental, JavaScript, SIMD
The SIMD.Bool8x16 data type is a 128-bit vector divided into 16 lanes storing boolean values.
641 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.
642 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.
643 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.
644 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.
645 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.
646 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.
647 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.
648 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.
649 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.
650 Set.prototype ECMAScript 2015, JavaScript, Property, set
The Set.prototype property represents the prototype for the Set constructor.
651 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.
652 Set.prototype.clear() ECMAScript 2015, JavaScript, Method, Prototype, set
The clear() method removes all elements from a Set object.
653 Set.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, set
The delete() method removes the specified element from a Set object.
654 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.
655 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.
656 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.
657 Set.prototype.size ECMAScript 2015, JavaScript, Property, Prototype, set
The size accessor property returns the number of elements in a Set object.
658 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.
659 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.
660 get Set[@@species] ECMAScript 2015, JavaScript, Property, set
The Set[@@species] accessor property returns the Set constructor.
661 SharedArrayBuffer Constructor, 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.
662 SharedArrayBuffer.prototype JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays
The SharedArrayBuffer.prototype property represents the prototype for the SharedArrayBuffer object.
663 SharedArrayBuffer.prototype.byteLength JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays
The byteLength accessor property represents the length of an SharedArrayBuffer in bytes.
664 SharedArrayBuffer.prototype.slice() 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().
665 StopIteration Deprecated, JavaScript, Legacy Iterator, Reference, StopIteration
The StopIteration object is used to tell the end of the iteration in the legacy iterator protocol.
666 String ECMAScript 2015, JavaScript, Reference, String
The String global object is a constructor for strings, or a sequence of characters.
667 String.fromCharCode() JavaScript, Method, Reference, String, Unicode
The static String.fromCharCode() method returns a string created by using the specified sequence of Unicode values.
668 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.
669 String.prototype JavaScript, Property, Prototype, Reference, String
The String.prototype property represents the String prototype object.
670 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.
671 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.
672 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.
673 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.
674 String.prototype.charAt() JavaScript, Method, Prototype, Reference, String
The charAt() method returns the specified character from a string.
675 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().
676 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.
677 String.prototype.concat() JavaScript, Method, Prototype, Reference, String
The concat() method combines the text of one or more strings and returns a new string.
678 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.
679 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.
680 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.
681 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.
682 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.
683 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.
684 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.
685 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.
686 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.
687 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.
688 String.prototype.match() JavaScript, Method, Prototype, Reference, Regular Expressions, String
The match() method retrieves the matches when matching a string against a regular expression.
689 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).
690 String.prototype.padEnd() 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.
691 String.prototype.padStart() 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.
692 String.prototype.quote() JavaScript, Method, Obsolete, Prototype, Reference, String
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 (").
693 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.
694 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.
695 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.
696 String.prototype.slice() JavaScript, Method, Prototype, Reference, String
The slice() method extracts a section of a string and returns it as a new string.
697 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.
698 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, using a specified separator string to determine where to make each split.
699 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.
700 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.
701 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.
702 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.
703 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.
704 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.
705 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.
706 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.
707 String.prototype.toLowerCase() JavaScript, Method, Prototype, Reference, String
The toLowerCase() method returns the calling string value converted to lower case.
708 String.prototype.toSource() JavaScript, Method, Non-standard, Prototype, Reference, String
The toSource() method returns a string representing the source code of the object.
709 String.prototype.toString() JavaScript, Method, Prototype, Reference, String
The toString() method returns a string representing the specified object.
710 String.prototype.toUpperCase() JavaScript, Method, Prototype, Reference, String
The toUpperCase() method returns the calling string value converted to upper case.
711 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.).
712 String.prototype.trimLeft() JavaScript, Method, Prototype, Reference, String
The trimLeft() method removes whitespace from the left end of a string.
713 String.prototype.trimRight() JavaScript, Method, Prototype, Reference, String
The trimRight() method removes whitespace from the right end of a string.
714 String.prototype.valueOf() JavaScript, Method, Prototype, Reference, String
The valueOf() method returns the primitive value of a String object.
715 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.
716 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).
717 string.length JavaScript, Property, Prototype, Reference, String
The length property represents the length of a string.
718 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()".
719 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.
720 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.
721 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.
722 Symbol.iterator ECMAScript 2015, JavaScript, Property, Symbol
The Symbol.iterator well-known symbol specifies the default iterator for an object. Used by for...of.
723 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.
724 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.
725 Symbol.prototype JavaScript, Property, Symbol
The Symbol.prototype property represents the prototype for the Symbol constructor.
726 Symbol.prototype.toSource() JavaScript, Method, Prototype, Symbol, prototype
The toSource() method returns a string representing the source code of the object.
727 Symbol.prototype.toString() ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The toString() method returns a string representing the specified Symbol object.
728 Symbol.prototype.valueOf() ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The valueOf() method returns the primitive value of a Symbol object.
729 Symbol.prototype[@@toPrimitive] ECMAScript 2015, JavaScript, Method, Prototype, Symbol
The [@@toPrimitive]() method converts a Symbol object to a primitive value.
730 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.
731 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.
732 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.
733 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.
734 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.
735 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.
736 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.
737 SyntaxError Error, JavaScript, Object, Reference, SyntaxError
The SyntaxError object represents an error when trying to interpret syntactically invalid code.
738 SyntaxError.prototype Error, JavaScript, Property, Prototype, SyntaxError
The SyntaxError.prototype property represents the prototype for the SyntaxError constructor.
739 TypeError Error, JavaScript, Object, Reference, TypeError
The TypeError object represents an error when a value is not of the expected type.
740 TypeError.prototype Error, JavaScript, Property, Prototype, TypeError, prototype
The TypeError.prototype property represents the prototype for the TypeError constructor.
741 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.
742 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.
743 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().
744 TypedArray.name JavaScript, Property, TypedArray, TypedArrays
The TypedArray.name property represents a string value of the typed array constructor name.
745 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().
746 TypedArray.prototype JavaScript, Property, TypedArray, TypedArrays
The TypedArray.prototype property represents the prototype for TypedArray constructors.
747 TypedArray.prototype.buffer JavaScript, Property, Prototype, TypedArray, TypedArrays
The buffer accessor property represents the ArrayBuffer referenced by a TypedArray at construction time.
748 TypedArray.prototype.byteLength JavaScript, Property, Prototype, TypedArray, TypedArrays
The byteLength accessor property represents the length (in bytes) of a typed array.
749 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.
750 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.
751 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.
752 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.
753 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.
754 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.
755 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.
756 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.
757 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.
758 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.
759 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.
760 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.
761 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.
762 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.
763 TypedArray.prototype.length JavaScript, Property, Prototype, TypedArray, TypedArrays
The length accessor property represents the length (in elements) of a typed array.
764 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.
765 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.
766 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.
767 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.
768 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.
769 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.
770 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.
771 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.
772 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.
773 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.
774 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.
775 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.
776 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.
777 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.
778 get TypedArray[@@species] JavaScript, Property, Prototype, TypedArray, TypedArrays
The TypedArray[@@species] accessor property returns the constructor of a typed array.
779 URIError Error, JavaScript, Object, Reference, URIError
The URIError object represents an error when a global URI handling function was used in a wrong way.
780 URIError.prototype Error, JavaScript, Property, Prototype, URIError
The URIError.prototype property represents the prototype for the URIError constructor.
781 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).
782 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).
783 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).
784 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).
785 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.
786 WeakMap.prototype ECMAScript 2015, JavaScript, Property, WeakMap
The WeakMap.prototype property represents the prototype for the WeakMap constructor.
787 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.
788 WeakMap.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The delete() method removes the specified element from a WeakMap object.
789 WeakMap.prototype.get() ECMAScript 2015, JavaScript, Method, Prototype, WeakMap
The get() method returns a specified element from a WeakMap object.
790 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.
791 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.
792 WeakSet ECMAScript 2015, JavaScript, WeakSet
The WeakSet object lets you store weakly held objects in a collection.
793 WeakSet.prototype ECMAScript 2015, JavaScript, Property, WeakSet
The WeakSet.prototype property represents the prototype for the WeakSet constructor.
794 WeakSet.prototype.add() ECMAScript 2015, JavaScript, Method, Prototype, WeakSet
The add() method appends a new object to the end of a WeakSet object.
795 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.
796 WeakSet.prototype.delete() ECMAScript 2015, JavaScript, Method, Prototype, WeakSet
The delete() method removes the specified element from a WeakSet object.
797 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.
798 WebAssembly API, Experimental, JavaScript, Object, Reference, WebAssembly
The WebAssembly JavaScript object acts as the namespace for all WebAssembly-related functionality.
799 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.
800 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.
801 WebAssembly.Instance.prototype JavaScript, Property, Prototype, WebAssembly, instance
The WebAssembly.Instance.prototype property represents the prototype for the WebAssembly.Instance() constructor.
802 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.
803 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).
804 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.
805 WebAssembly.Memory.prototype JavaScript, Property, Prototype, WebAssembly, memory
The WebAssembly.Memory.prototype property represents the prototype for the WebAssembly.Memory() constructor.
806 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.
807 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.
808 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.
809 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.
810 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.
811 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.
812 WebAssembly.Module.prototype JavaScript, Module, Property, Prototype, WebAssembly
The WebAssembly.Module.prototype property represents the prototype for the WebAssembly.Module() constructor.
813 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.
814 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.
815 WebAssembly.Table.prototype JavaScript, Property, Prototype, WebAssembly, table
The WebAssembly.Table.prototype property represents the prototype for the WebAssembly.Table() constructor.
816 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.
817 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.
818 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.
819 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.
820 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).
821 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:
822 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).
823 decodeURI() JavaScript
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine.
824 decodeURIComponent() JavaScript
The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.
825 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).
826 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).
827 escape() Deprecated, JavaScript
The deprecated escape() function computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.
828 eval() JavaScript, eval
The eval() function evaluates JavaScript code represented as a string.
829 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.
830 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.
831 null JavaScript, Literal, Primitive
The value null represents the intentional absence of any object value. It is one of JavaScript's primitive values.
832 parseFloat() JavaScript
The parseFloat() function parses an argument and returns a floating point number.
833 parseInt() JavaScript
The parseInt() function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems).
834 undefined JavaScript
The global undefined property represents the primitive value undefined. It is one of JavaScript's primitive types.
835 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.
836 uneval() JavaScript
The uneval() function creates a string representation of the source code of an Object.
837 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.
838 Legacy generator function JavaScript, Legacy Iterator, Reference
The legacy generator function statement declares legacy generator functions with the specified parameters.
839 async function Example, Function, JavaScript, Statement
An AsyncFunction object, representing an asynchronous function which executes the code contained within the function.
840 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:
841 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.
842 class Classes, Declaration, ECMAScript 2015, JavaScript, Reference, Statement
The class declaration creates a new class with a given name using prototype-based inheritance.
843 const ECMAScript 2015, JavaScript, Reference, Statement, constants
This declaration creates a constant whose scope can be either global (on the window object) or local to the block 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).
844 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.
845 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.
846 default JavaScript, Keyword
The default keyword can be used in two situations in JavaScript: within a switch statement, or with an export statement.
847 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.
848 empty JavaScript, Statement
An empty statement is used to provide no statement, although the JavaScript syntax would expect one.
849 export ECMAScript 2015, JavaScript, Statement
The export statement is used to export functions, objects or primitives from a given file (or module).
850 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.
851 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.
852 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.
853 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.
854 function declaration JavaScript, Statement
The function declaration defines a function with the specified parameters.
855 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.
856 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.
857 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.
858 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.
859 let ECMAScript 2015, JavaScript, Statement, Variable declaration, Variables, let
The let statement declares a block scope local variable, optionally initializing it to a value.
860 return JavaScript, Statement
The return statement ends function execution and specifies a value to be returned to the function caller.
861 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.
862 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.
863 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.
864 var JavaScript, Statement
The variable statement declares a variable, optionally initializing it to a value.
865 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.
866 with Deprecated, JavaScript, Statement
The with statement extends the scope chain for a statement.
867 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.
868 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.
869 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.
870 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.
871 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.
872 The performance hazards of [[Prototype]] mutation JavaScript, Performance, performance

Document Tags and Contributors

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