MDN JavaScript pages
This page lists all MDN JavaScript pages along with their summary and tags.
Found 808 pages:
# | Page | Tags and summary |
---|---|---|
1 | JavaScript | JavaScript, Landing, Learn |
JavaScript (JS) is a lightweight, interpreted, 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 and Apache CouchDB. JS is a prototype-based, multi-paradigm, dynamic scripting 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 |
Closures are functions that refer to independent (free) variables (variables that are used locally, but defined in an enclosing scope). In other words, these functions 'remember' the environment in which they were created. | ||
5 | Concurrency model and Event Loop | Advanced, 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, MDN meta, index |
This page lists all MDN JavaScript pages along with their summary and tags. | ||
9 | Inheritance and the prototype chain | Inheritance, Intermediate, 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 ES6, but is syntactical sugar, JavaScript remains prototype-based). |
||
10 | Introduction to Object-Oriented JavaScript | Constructor, Encapsulation, Inheritance, Intermediate, JavaScript, Members, Namespace, OOP, Object, Object-Oriented |
Object-oriented to the core, JavaScript features powerful, flexible OOP capabilities. This article starts with an introduction to object-oriented programming, then reviews the JavaScript object model, and finally demonstrates concepts of object-oriented programming in JavaScript. This article does not describe the newer syntax for object-oriented programming in ECMAScript 6. | ||
11 | 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. | ||
12 | Control flow and error handling | Beginner, Guide, JavaScript |
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. | ||
13 | Details of the object model | Guide, Intermediate, JavaScript, Object |
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. | ||
14 | Expressions and operators | Beginner, Expressions, Guide, JavaScript, Operators |
This chapter describes JavaScript's expressions and operators, including assignment, comparison, arithmetic, bitwise, logical, string, ternary and more. | ||
15 | Functions | Beginner, Functions, Guide, JavaScript |
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. | ||
16 | Grammar and types | Guide, JavaScript |
This chapter discusses JavaScript's basic grammar, variable declarations, data types and literals. | ||
17 | Indexed collections | Guide, JavaScript, Method |
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. |
||
18 | Introduction | Guide, JavaScript |
This chapter introduces JavaScript and discusses some of its fundamental concepts. | ||
19 | Iterators and generators | Guide, Intermediate, JavaScript |
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. |
||
20 | Keyed collections | Collections, Guide, JavaScript, Map, 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. | ||
21 | Loops and iteration | Guide, JavaScript, Loop, Syntax |
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. | ||
22 | Meta programming | Guide, JavaScript, Proxy, Reflect |
Starting with ECMAScript 6, 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. |
||
23 | Numbers and dates | Guide, JavaScript |
This chapter introduces how to work with numbers and dates in JavaScript. | ||
24 | 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 , replace , search , and split methods of String . This chapter describes JavaScript regular expressions. |
||
25 | Text formatting | Guide, JavaScript |
This chapter introduces how to work with strings and text in JavaScript. | ||
26 | Working with objects | Beginner, Comparing object, Constructor, Document, Guide, JavaScript, Object |
JavaScript is designed on a simple object-based paradigm. An object is a collection of properties, and a property is an association between a name (or key) and a value. A property's value can be a function, in which case the property is known as a method. In addition to objects that are predefined in the browser, you can define your own objects. This chapter describes how to use objects, properties, functions, and methods, and how to create your own objects. | ||
27 | JavaScript data types and data structures | Beginner, JavaScript, Types |
Programming languages all have built-in data structures, but these often differ from one language to another. This article attempts to list the built-in data structures available in JavaScript and what properties they have; these can be used to build other data structures. When possible, comparisons with other languages are drawn. | ||
28 | JavaScript language resources | Advanced, JavaScript |
ECMAScript is the scripting language that forms the basis of JavaScript. ECMAScript is standardized by the ECMA International standards organization in the ECMA-262 and ECMA-402 specifications. The following ECMAScript standards have been approved or are being worked on: | ||
29 | JavaScript reference | JavaScript |
This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference. | ||
30 | About this reference | JavaScript |
The JavaScript reference serves as a repository of facts about the JavaScript language. The entire language is described here in detail. As you write JavaScript code, you'll refer to these pages often (thus the title "JavaScript reference"). If you're learning JavaScript, or need help understanding some of its capabilities or features, check out the JavaScript guide. | ||
31 | Classes | Classes, Constructors, ECMAScript6, Inheritance, Intermediate, JavaScript |
JavaScript classes introduced in ECMAScript 6 are syntactical sugar over JavaScript's existing prototype-based inheritance. The class syntax is not introducing a new object-oriented inheritance model to JavaScript. JavaScript classes provide a much simpler and clearer syntax to create objects and deal with inheritance. | ||
32 | constructor | Classes, ECMAScript6, JavaScript |
The constructor method is a special method for creating and initializing an object created with a class . |
||
33 | extends | Classes, ECMAScript6, JavaScript |
The extends keyword is used in a class declarations or class expressions to create a class with a child of another class. |
||
34 | static | Classes, ECMAScript6, JavaScript |
The static keyword defines a static method for a class. | ||
35 | Deprecated and obsolete features | Deprecated, JavaScript, Obsolete |
This page lists features of JavaScript that are deprecated (that is, still available but planned for removal) and obsolete (that is, no longer usable). | ||
36 | The legacy Iterator protocol | JavaScript, Legacy Iterator |
Firefox, prior to version 26 implemented another iterator protocol that is similar to the standard ES2015 Iterator protocol. | ||
37 | Expressions and operators | JavaScript, Operators |
This chapter documents all the JavaScript language operators, expressions and keywords. | ||
38 | Arithmetic operators | JavaScript, Operator, operator |
Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value. The standard arithmetic operators are addition (+), subtraction (-), multiplication (*), and division (/). | ||
39 | Array comprehensions | JavaScript, Non-standard, Operator, Reference, operator |
The array comprehension syntax is a JavaScript expression which allows you to quickly assemble a new array based on an existing one. Comprehensions exist in many programming languages. | ||
40 | Assignment operators | JavaScript, Operator, operator |
An assignment operator assigns a value to its left operand based on the value of its right operand. | ||
41 | Bitwise operators | JavaScript, Operator, Reference, operator |
Bitwise operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal numbers . For example, the decimal number nine has a binary representation of 1001. Bitwise operators perform their operations on such binary representations, but they return standard JavaScript numerical values. |
||
42 | Comma operator | JavaScript, Operator, operator |
The comma operator evaluates each of its operands (from left to right) and returns the value of the last operand. | ||
43 | Comparison operators | JavaScript, Operator, Reference, operator |
JavaScript has both strict and type–converting comparisons. A strict comparison (e.g., === ) is only true if the operands are of the same type and the contents match. The more commonly-used abstract comparison (e.g. == ) converts the operands to the same type before making the comparison. For relational abstract comparisons (e.g., <= ), the operands are first converted to primitives, then to the same type, before comparison. |
||
44 | Conditional (ternary) Operator | JavaScript, Operator, operator |
The conditional (ternary) operator is the only JavaScript operator that takes three operands. This operator is frequently used as a shortcut for the if statement. |
||
45 | Destructuring assignment | Destructuring, ECMAScript6, JavaScript, Operator, operator |
The destructuring assignment syntax is a JavaScript expression that makes it possible to extract data from arrays or objects into distinct variables. | ||
46 | Expression closures | Functions, JavaScript, Reference |
Expression closures are a shorthand function syntax for writing simple functions. | ||
47 | Generator comprehensions | Iterator, JavaScript, Non-standard, Reference |
The generator comprehension syntax is a JavaScript expression which allows you to quickly assemble a new generator function based on an existing iterable object. Comprehensions exist in many programming languages. | ||
48 | Grouping operator | JavaScript, Operator, Primary Expressions, operator |
The grouping operator ( ) controls the precedence of evaluation in expressions. |
||
49 | Legacy generator function expression | JavaScript, Legacy Iterator, Reference, Référence |
The function keyword can be used to define a legacy generator function inside an expression. To make the function a legacy generator, the function body should contain at least one yield expression. |
||
50 | Logical Operators | JavaScript, Operator, operator |
Logical operators are typically used with Boolean (logical) values. When they are, they return a Boolean value. However, the && and || operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value. |
||
51 | Object initializer | ECMAScript 2015, ECMAScript6, 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 list of zero or more pairs of property names and associated values of an object, enclosed in curly braces ({} ). |
||
52 | Operator precedence | JavaScript, Operator, operator, precedence |
Operator precedence determines the order in which operators are evaluated. Operators with higher precedence are evaluated first. | ||
53 | Property accessors | JavaScript, Operator, operator |
Property accessors provide access to an object's properties by using the dot notation or the bracket notation. | ||
54 | Spread syntax | ECMAScript6, Iterator, JavaScript, Operator, operator |
The spread syntax allows an expression to be expanded in places where multiple arguments (for function calls) or multiple elements (for array literals) or multiple variables (for destructuring assignment) are expected. | ||
55 | class expression | Classes, ECMAScript6, Expression, JavaScript, Operator, Reference, operator |
The class expression is one way to define a class in ECMAScript 2015 (ES6). 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. | ||
56 | delete operator | JavaScript, Operator, Reference, Unary, operator |
The delete operator removes a property from an object. |
||
57 | function expression | Function, JavaScript, Operator, Primary Expressions, operator |
The function keyword can be used to define a function inside an expression. |
||
58 | function* expression | ECMAScript6, Function, Iterator, JavaScript, Operator, Primary Expression, operator |
The function* keyword can be used to define a generator function inside an expression. |
||
59 | in operator | JavaScript, Operator, Relational Operators, operator |
The in operator returns true if the specified property is in the specified object. |
||
60 | instanceof | JavaScript, Object, Operator, Prototype, Relational Operators, instanceof, operator |
The instanceof operator tests whether an object has in its prototype chain the prototype property of a constructor. |
||
61 | new operator | JavaScript, Left-hand-side expressions, Operator, 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. |
||
62 | new.target | Classes, ECMAScript6, 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 . |
||
63 | super | Classes, ECMAScript6, JavaScript, Left-hand-side expressions, Operator, operator |
The super keyword is used to call functions on an object's parent. | ||
64 | this | JavaScript, Operator, Primary Expressions, Reference, operator |
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. |
||
65 | typeof | JavaScript, Operator, Unary, operator |
The typeof operator returns a string indicating the type of the unevaluated operand. |
||
66 | void operator | JavaScript, Operator, Unary, operator |
The void operator evaluates the given expression and then returns undefined . |
||
67 | yield | ECMAScript6, Generators, Iterator, JavaScript, Operator, operator |
The yield keyword is used to pause and resume a generator function (function* or legacy generator function). |
||
68 | yield* | ECMAScript6, Generators, Iterable, Iterator, JavaScript, Operator, Reference, operator |
The yield* expression is used to delegate to another generator or iterable object. |
||
69 | Functions | Function, Functions, JavaScript |
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. | ||
70 | Arguments object | Functions, JavaScript, arguments |
The arguments object is an Array -like object corresponding to the arguments passed to a function. |
||
71 | arguments.callee | Deprecated, Functions, JavaScript, Property, arguments |
The arguments.callee property contains the currently executing function. |
||
72 | 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. |
||
73 | arguments.length | Functions, JavaScript, Property, arguments |
The arguments.length property contains the number of arguments passed to the function. |
||
74 | 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. |
||
75 | Arrow functions | ECMAScript6, Functions, Intermediate, JavaScript, Reference |
An arrow function expression has a shorter syntax compared to function expressions and does not bind its own this , arguments, super, or new.target. Arrow functions are always anonymous. These function expressions are best suited for non-method functions and they can not be used as constructors. |
||
76 | Default parameters | ECMAScript6, Functions, JavaScript |
Default function parameters allow formal parameters to be initialized with default values if no value or undefined is passed. |
||
77 | Method definitions | ECMAScript6, Functions, JavaScript, Object, Syntax |
Starting with ECMAScript 2015 (ES6), a shorter syntax for method definitions on objects initializers is introduced. It is a shorthand for a function assigned to the method's name. | ||
78 | Rest parameters | Functions, JavaScript, Rest, Rest parameters |
The rest parameter syntax allows us to represent an indefinite number of arguments as an array. | ||
79 | getter | ECMAScript5, ECMAScript6, Functions, JavaScript |
The get syntax binds an object property to a function that will be called when that property is looked up. |
||
80 | setter | ECMAScript5, Functions, JavaScript |
The set syntax binds an object property to a function to be called when there is an attempt to set that property. |
||
81 | Iteration protocols | ECMAScript6, Intermediate, Iterable, Iterator, JavaScript |
A couple of additions to ECMAScript 2015 (ES6) aren't new built-ins or syntax, but protocols. These protocols can be implemented by any object respecting some conventions. | ||
82 | JavaScript error reference | JavaScript |
Errors, errors everywhere. | ||
83 | Error: Permission denied to access property "x" | Error, Errors, JavaScript, Security |
Error . |
||
84 | InternalError: too much recursion | Errors, InternalError, JavaScript |
InternalError . |
||
85 | RangeError: argument is not a valid code point | Errors, JavaScript, RangeError |
RangeError |
||
86 | RangeError: invalid array length | Errors, JavaScript, RangeError |
RangeError |
||
87 | RangeError: precision is out of range | Errors, JavaScript, RangeError |
RangeError |
||
88 | RangeError: radix must be an integer | Errors, JavaScript, RangeError |
RangeError |
||
89 | RangeError: repeat count must be less than infinity | Errors, JavaScript, RangeError |
RangeError |
||
90 | RangeError: repeat count must be non-negative | Errors, JavaScript, RangeError |
RangeError |
||
91 | ReferenceError: "x" is not defined | Error, JavaScript, ReferenceError |
ReferenceError . |
||
92 | ReferenceError: assignment to undeclared variable "x" | Errors, JavaScript, ReferenceError, Strict Mode |
ReferenceError warning in strict mode only. |
||
93 | 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. |
||
94 | ReferenceError: invalid assignment left-hand side | Errors, JavaScript, ReferenceError |
ReferenceError . |
||
95 | ReferenceError: reference to undefined property "x" | Errors, JavaScript, ReferenceError, Strict Mode |
ReferenceError warning in strict mode only. |
||
96 | SyntaxError: "use strict" not allowed in function with "x" parameter | Errors, JavaScript, TypeError |
SyntaxError . |
||
97 | SyntaxError: "x" is not a legal ECMA-262 octal constant | Errors, JavaScript, Strict Mode, SyntaxError, Warning |
SyntaxError warning in strict mode only. |
||
98 | SyntaxError: JSON.parse: bad parsing | Errors, JSON, JavaScript, Method, Property, SyntaxError |
SyntaxError |
||
99 | SyntaxError: Malformed formal parameter | Errors, JavaScript, SyntaxError |
SyntaxError |
||
100 | SyntaxError: Unexpected token | Errors, JavaScript, SyntaxError |
SyntaxError |
||
101 | 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. |
||
102 | SyntaxError: missing ) after argument list | Errors, JavaScript, SyntaxError |
SyntaxError . |
||
103 | SyntaxError: missing ; before statement | Errors, JavaScript, SyntaxError |
SyntaxError . |
||
104 | SyntaxError: missing ] after element list | Errors, JavaScript, SyntaxError |
SyntaxError . |
||
105 | SyntaxError: missing } after property list | Errors, JavaScript, SyntaxError |
SyntaxError |
||
106 | SyntaxError: redeclaration of formal parameter "x" | Errors, JavaScript, SyntaxError |
SyntaxError |
||
107 | SyntaxError: return not in function | Errors, JavaScript, SyntaxError |
SyntaxError . |
||
108 | SyntaxError: test for equality (==) mistyped as assignment (=)? | Errors, JavaScript, SyntaxError |
SyntaxError warning in strict mode only. |
||
109 | SyntaxError: unterminated string literal | Errors, JavaScript, SyntaxError |
SyntaxError |
||
110 | TypeError: "x" has no properties | Errors, JavaScript, TypeError |
TypeError . |
||
111 | TypeError: "x" is (not) "y" | Errors, JavaScript, TypeError |
TypeError . |
||
112 | TypeError: "x" is not a constructor | Errors, JavaScript, TypeError |
TypeError |
||
113 | TypeError: "x" is not a function | Errors, JavaScript, TypeError |
TypeError . |
||
114 | TypeError: "x" is read-only | Errors, JavaScript, TypeError |
TypeError |
||
115 | TypeError: More arguments needed | Errors, JavaScript, TypeError |
TypeError . |
||
116 | TypeError: invalid Array.prototype.sort argument | Errors, JavaScript, TypeError |
TypeError |
||
117 | TypeError: property "x" is non-configurable and can't be deleted | Errors, JavaScript, Strict Mode, TypeError |
TypeError in strict mode only. |
||
118 | TypeError: variable "x" redeclares argument | Errors, JavaScript, Strict Mode, TypeError |
TypeError warning in strict mode only. |
||
119 | Warning: -file- is being assigned a //# sourceMappingURL, but already has one | Errors, JavaScript, Source maps, Warning |
A warning. JavaScript execution won't be halted. | ||
120 | Warning: JavaScript 1.6's for-each-in loops are deprecated | JavaScript, Warning |
Warning | ||
121 | Warning: unreachable code after return statement | JavaScript, Warning |
Warning | ||
122 | JavaScript methods index | JavaScript |
This article entails a listing of all JavaScript methods documented on MDN sorted alphabetically. | ||
123 | JavaScript properties index | JavaScript |
This article entails a listing of all JavaScript properties documented on MDN sorted alphabetically. | ||
124 | 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. | ||
125 | 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. | ||
126 | 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. |
||
127 | Array.from() | Array, ECMAScript6, JavaScript, Method, polyfill |
The Array.from() method creates a new Array instance from an array-like or iterable object. |
||
128 | Array.isArray() | Array, ECMAScript5, JavaScript, Method, polyfill |
The Array.isArray() determines whether the passed value is an Array . |
||
129 | 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. |
||
130 | Array.of() | Array, ECMAScript6, 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. |
||
131 | 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. |
||
132 | Array.prototype.concat() | Array, JavaScript, Method, Prototype |
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. |
||
133 | Array.prototype.copyWithin() | Array, ECMAScript6, JavaScript, Method, Prototype, polyfill |
The copyWithin() method shallow copies part of an array to another location in the same array and returns it, without modifying its size. |
||
134 | Array.prototype.entries() | Array, ECMAScript6, 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. |
||
135 | Array.prototype.every() | Array, ECMAScript5, JavaScript, Method, Prototype, polyfill |
The every() method tests whether all elements in the array pass the test implemented by the provided function. |
||
136 | Array.prototype.fill() | Array, ECMAScript6, 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. |
||
137 | Array.prototype.filter() | Array, ECMAScript5, JavaScript, Method, Prototype, Reference, polyfill |
The filter() method creates a new array with all elements that pass the test implemented by the provided function. |
||
138 | Array.prototype.find() | Array, ECMAScript 2015, ECMAScript6, JavaScript, Method, Prototype, polyfill |
The find() method returns a value in the array, if an element in the array satisfies the provided testing function. Otherwise undefined is returned. |
||
139 | Array.prototype.findIndex() | Array, ECMAScript6, JavaScript, Method, Prototype, polyfill |
The findIndex() method returns an index in the array, if an element in the array satisfies the provided testing function. Otherwise -1 is returned. |
||
140 | Array.prototype.forEach() | Array, ECMAScript5, JavaScript, Method, Prototype, Reference |
The forEach() method executes a provided function once per array element. |
||
141 | 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. |
||
142 | 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. |
||
143 | Array.prototype.join() | Array, JavaScript, Method, Prototype, Reference |
The join() method joins all elements of an array into a string. |
||
144 | Array.prototype.keys() | Array, ECMAScript6, Iterator, JavaScript, Method, Prototype, prototype |
The keys() method returns a new Array Iterator that contains the keys for each index in the array. |
||
145 | Array.prototype.lastIndexOf() | Array, ECMAScript5, 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 . |
||
146 | Array.prototype.map() | Array, ECMAScript5, JavaScript, Method, Prototype, polyfill |
The map() method creates a new array with the results of calling a provided function on every element in this array. |
||
147 | Array.prototype.pop() | Array, JavaScript, Method, Prototype |
The pop() method removes the last element from an array and returns that element. |
||
148 | 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. |
||
149 | Array.prototype.reduce() | Array, ECMAScript5, JavaScript, Method, Prototype |
The reduce() method applies a function against an accumulator and each value of the array (from left-to-right) to reduce it to a single value. |
||
150 | Array.prototype.reduceRight() | Array, ECMAScript5, JavaScript, Method, Prototype, polyfill |
The reduceRight() method applies a function against an accumulator and each value of the array (from right-to-left) has to reduce it to a single value. |
||
151 | 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 becomes the first. |
||
152 | 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. |
||
153 | Array.prototype.slice() | Array, JavaScript, Method, Prototype |
The slice() method returns a shallow copy of a portion of an array into a new array object. |
||
154 | 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. |
||
155 | Array.prototype.sort() | Array, JavaScript, Method, Prototype |
Technical review completed. Editorial review completed. | ||
156 | Array.prototype.splice() | Array, JavaScript, Method, Prototype, Reference |
The splice() method changes the content of an array by removing existing elements and/or adding new elements. |
||
157 | Array.prototype.toLocaleString() | Array, Internationalization, JavaScript, Method, Prototype, 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 “,”). |
||
158 | Array.prototype.toSource() | Array, JavaScript, Method, Prototype, prototype |
The toSource() method returns a string representing the source code of the array. |
||
159 | Array.prototype.toString() | Array, JavaScript, Method, Prototype |
The toString() method returns a string representing the specified array and its elements. |
||
160 | Array.prototype.unshift() | Array, JavaScript, Method, Prototype |
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array. |
||
161 | Array.prototype.values() | Array, ECMAScript6, Iterator, JavaScript, Method, Prototype |
The values() method returns a new Array Iterator object that contains the values for each index in the array. |
||
162 | Array.prototype[@@iterator]() | Array, ECMAScript6, 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. |
||
163 | Array.prototype[@@unscopables] | Array, ECMAScript6, JavaScript, Property, Prototype, prototype |
The @@unscopable symbol property contains property names that were not included in the ECMAScript standard prior to the ES2015 (ES6) version. These properties are excluded from with statement bindings. |
||
164 | 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. |
||
165 | array.length | Array, JavaScript, Property |
The array length property sets or returns the number of elements in an array. It represents an unsigned, 32-bit integer that is always numerically greater than the highest index in the array. |
||
166 | get Array[@@species] | Array, JavaScript, Method, Prototype, prototype |
The Array[@@species] accessor property returns the Array constructor. |
||
167 | 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. |
||
168 | 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. |
||
169 | ArrayBuffer.prototype | ArrayBuffer, JavaScript, Property |
The ArrayBuffer.prototype property represents the prototype for the ArrayBuffer object. |
||
170 | ArrayBuffer.prototype.byteLength | ArrayBuffer, JavaScript, Property, Prototype, prototype |
The byteLength accessor property represents the length of an ArrayBuffer in bytes. |
||
171 | ArrayBuffer.prototype.slice() | ArrayBuffer, JavaScript, Method, Prototype, 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. |
||
172 | 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. |
||
173 | get ArrayBuffer[@@species] | ArrayBuffer, JavaScript, Property, TypedArrays |
The ArrayBuffer[@@species] accessor property returns the ArrayBuffer constructor. |
||
174 | Atomics | Atomics, Experimental, JavaScript, Shared Memory, Specifications |
The Atomics object provides atomic operations as static methods. They are used with SharedArrayBuffer objects. |
||
175 | Atomics.add() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .add() method adds a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
176 | Atomics.and() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .and() method computes a bitwise AND with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
177 | Atomics.compareExchange() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .compareExchange() method exchanges a given replacement value at a given position in the array, and returns the old value at that position, if a given expected value equals the old value. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
178 | Atomics.exchange() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .exchange() method exchanges a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
179 | Atomics.isLockFree() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .isLockFree() method is used to determine whether to use locks or atomic operations. It returns true , if the given size is one of the BYTES_PER_ELEMENT property of integer TypedArray types. |
||
180 | Atomics.load() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .load() method returns a value at a given position in the array. This atomic operation guarantees that no other read happens until the modified value is read back. |
||
181 | Atomics.or() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .or() method computes a bitwise OR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
182 | Atomics.store() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .store() method stores a given value at the given position in the array and returns that value. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
183 | Atomics.sub() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .sub() method substracts a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
184 | Atomics.wait() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .wait() method verifies that a given position in an Int32Array still contains a given value and sleeps awaiting or times out. It returns a string which is either "ok" , "not-equal" , or "timed-out" . |
||
185 | Atomics.wake() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .wake() method wakes up some agents that are sleeping in the wait queue. |
||
186 | Atomics.xor() | Atomics, Experimental, JavaScript, Method, Shared Memory |
The static Atomics .xor() method computes a bitwise XOR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back. |
||
187 | Boolean | Boolean, Constructor, JavaScript |
The Boolean object is an object wrapper for a boolean value. |
||
188 | Boolean.prototype | Boolean, JavaScript, Property, Prototype |
The Boolean.prototype property represents the prototype for the Boolean constructor. |
||
189 | Boolean.prototype.toSource() | Boolean, JavaScript, Method, Prototype |
The toSource() method returns a string representing the source code of the object. |
||
190 | Boolean.prototype.toString() | Boolean, JavaScript, Method, Prototype |
The toString() method returns a string representing the specified Boolean object. |
||
191 | Boolean.prototype.valueOf() | Boolean, JavaScript, Method, Prototype |
The valueOf() method returns the primitive value of a Boolean object. |
||
192 | 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. |
||
193 | DataView.prototype | DataView, JavaScript, Property |
The DataView .prototype property represents the prototype for the DataView object. |
||
194 | DataView.prototype.buffer | DataView, JavaScript, Property, Prototype, TypedArrays, prototype |
The buffer accessor property represents the ArrayBuffer referenced by the DataView at construction time. |
||
195 | DataView.prototype.byteLength | DataView, JavaScript, Property, Prototype, TypedArrays, prototype |
The byteLength accessor property represents the length (in bytes) of this view from the start of its ArrayBuffer . |
||
196 | DataView.prototype.byteOffset | DataView, JavaScript, Property, Prototype, TypedArrays, prototype |
The byteOffset accessor property represents the offset (in bytes) of this view from the start of its ArrayBuffer . |
||
197 | 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 . |
||
198 | 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 . |
||
199 | 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 . |
||
200 | 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 . |
||
201 | 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 . |
||
202 | 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 . |
||
203 | 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 . |
||
204 | 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 . |
||
205 | 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 . |
||
206 | 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 . |
||
207 | 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 . |
||
208 | 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 . |
||
209 | 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 . |
||
210 | 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 . |
||
211 | 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 . |
||
212 | 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 . |
||
213 | 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. |
||
214 | 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. |
||
215 | 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. |
||
216 | Date.parse() | Date, JavaScript, Method, Reference |
The Date.parse() method parses a string representation of a date, and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC or NaN if the string is unrecognised or, in some cases, contains illegal date values (e.g. 2015-02-31). |
||
217 | Date.prototype | Date, JavaScript, Property, Prototype, Reference |
The Date.prototype property represents the prototype for the Date constructor. |
||
218 | 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. |
||
219 | 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. |
||
220 | Date.prototype.getFullYear() | Date, JavaScript, Method, Prototype, Reference |
The getFullYear() method returns the year of the specified date according to local time. |
||
221 | Date.prototype.getHours() | Date, JavaScript, Method, Prototype, Reference |
The getHours() method returns the hour for the specified date, according to local time. |
||
222 | Date.prototype.getMilliseconds() | Date, JavaScript, Method, Prototype, Reference |
The getMilliseconds() method returns the milliseconds in the specified date according to local time. |
||
223 | Date.prototype.getMinutes() | Date, JavaScript, Method, Prototype, Reference |
The getMinutes() method returns the minutes in the specified date according to local time. |
||
224 | 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). |
||
225 | Date.prototype.getSeconds() | Date, JavaScript, Method, Prototype, Reference |
The getSeconds() method returns the seconds in the specified date according to local time. |
||
226 | 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. |
||
227 | Date.prototype.getTimezoneOffset() | Date, JavaScript, Method, Prototype, Reference |
The getTimezoneOffset() method returns the time-zone offset from UTC, in minutes, for the current locale. |
||
228 | 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. |
||
229 | 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. |
||
230 | Date.prototype.getUTCFullYear() | Date, JavaScript, Method, Prototype, Reference |
The getUTCFullYear() method returns the year in the specified date according to universal time. |
||
231 | Date.prototype.getUTCHours() | Date, JavaScript, Method, Prototype, Reference |
The getUTCHours() method returns the hours in the specified date according to universal time. |
||
232 | Date.prototype.getUTCMilliseconds() | Date, JavaScript, Method, Prototype, Reference |
The getUTCMilliseconds() method returns the milliseconds in the specified date according to universal time. |
||
233 | Date.prototype.getUTCMinutes() | Date, JavaScript, Method, Prototype, Reference |
The getUTCMinutes() method returns the minutes in the specified date according to universal time. |
||
234 | 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). |
||
235 | Date.prototype.getUTCSeconds() | Date, JavaScript, Method, Prototype, Reference |
The getUTCSeconds() method returns the seconds in the specified date according to universal time. |
||
236 | 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. |
||
237 | 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. |
||
238 | 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. |
||
239 | 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. |
||
240 | Date.prototype.setMilliseconds() | Date, JavaScript, Method, Prototype, Reference |
The setMilliseconds() method sets the milliseconds for a specified date according to local time. |
||
241 | Date.prototype.setMinutes() | Date, JavaScript, Method, Prototype, Reference |
The setMinutes() method sets the minutes for a specified date according to local time. |
||
242 | Date.prototype.setMonth() | Date, JavaScript, Method, Prototype, Reference |
The setMonth() method sets the month for a specified date according to the currently set year. |
||
243 | Date.prototype.setSeconds() | Date, JavaScript, Method, Prototype, Reference |
The setSeconds() method sets the seconds for a specified date according to local time. |
||
244 | 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. |
||
245 | 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. |
||
246 | Date.prototype.setUTCFullYear() | Date, JavaScript, Method, Prototype, Reference |
The setUTCFullYear() method sets the full year for a specified date according to universal time. |
||
247 | 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. |
||
248 | Date.prototype.setUTCMilliseconds() | Date, JavaScript, Method, Prototype, Reference |
The setUTCMilliseconds() method sets the milliseconds for a specified date according to universal time. |
||
249 | Date.prototype.setUTCMinutes() | Date, JavaScript, Method, Prototype, Reference |
The setUTCMinutes() method sets the minutes for a specified date according to universal time. |
||
250 | Date.prototype.setUTCMonth() | Date, JavaScript, Method, Prototype, Reference |
The setUTCMonth() method sets the month for a specified date according to universal time. |
||
251 | Date.prototype.setUTCSeconds() | Date, JavaScript, Method, Prototype, Reference |
The setUTCSeconds() method sets the seconds for a specified date according to universal time. |
||
252 | 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. |
||
253 | 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. |
||
254 | 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. |
||
255 | 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 ". |
||
256 | Date.prototype.toJSON() | Date, JavaScript, Method, Prototype, Reference |
The toJSON() method returns a string representation of the Date object. |
||
257 | Date.prototype.toLocaleDateString() | Date, 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. |
||
258 | 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() . |
||
259 | 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. |
||
260 | 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. |
||
261 | Date.prototype.toSource() | Date, JavaScript, Method, Prototype, Reference |
The toSource() method returns a string representing the source code of the object. |
||
262 | Date.prototype.toString() | Date, JavaScript, Method, Prototype, Reference |
The toString() method returns a string representing the specified Date object. |
||
263 | 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. |
||
264 | Date.prototype.toUTCString() | Date, JavaScript, Method, Prototype, Reference |
The toUTCString() method converts a date to a string, using the UTC time zone. |
||
265 | Date.prototype.valueOf() | Date, JavaScript, Method, Prototype, Reference |
The valueOf() method returns the primitive value of a Date object. |
||
266 | Date.prototype[@@toPrimitive] | Date, JavaScript, Method, Prototype, Reference |
The [@@toPrimitive]() method converts a Date object to a primitive value. |
||
267 | 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. |
||
268 | Error.prototype | Error, JavaScript, Property |
The Error.prototype property represents the prototype for the Error constructor. |
||
269 | Error.prototype.columnNumber | Error, JavaScript, Property, Prototype |
The columnNumber property contains the column number in the line of the file that raised this error. |
||
270 | Error.prototype.fileName | Error, JavaScript, Property, Prototype |
The fileName property contains the path to the file that raised this error. |
||
271 | Error.prototype.lineNumber | Error, JavaScript, Property, Prototype, Reference |
The lineNumber property contains the line number in the file that raised this error. |
||
272 | Error.prototype.message | Error, JavaScript, Property, Prototype |
The message property is a human-readable description of the error. |
||
273 | Error.prototype.name | Error, JavaScript, Property, Prototype |
The name property represents a name for the type of error. The initial value is "Error". |
||
274 | 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. |
||
275 | Error.prototype.toSource() | Error, JavaScript, Method, Prototype |
The toSource() method returns code that could eval to the same error. |
||
276 | Error.prototype.toString() | Error, JavaScript, Method, Prototype |
The toString() method returns a string representing the specified Error object. |
||
277 | 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. |
||
278 | EvalError.prototype | Error, EvalError, JavaScript, Property |
The EvalError.prototype property represents the prototype of the EvalError constructor. |
||
279 | 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). |
||
280 | 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). |
||
281 | Function | Constructor, Function, JavaScript |
The Function constructor creates a new Function object. In JavaScript every function is actually a Function object. |
||
282 | 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. |
||
283 | 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. |
||
284 | Function.caller | Function, JavaScript, Property |
The function.caller property returns the function that invoked the specified function. |
||
285 | Function.displayName | Function, JavaScript, Property |
The function.displayName property returns the display name of the function. |
||
286 | Function.length | Function, JavaScript, Property |
The length property specifies the number of arguments expected by the function. |
||
287 | Function.name | ECMAScript6, Function, JavaScript, Property |
The function.name property returns the name of the function. |
||
288 | Function.prototype | Function, JavaScript, Property, Prototype |
The Function.prototype property represents the Function prototype object. |
||
289 | 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). |
||
290 | Function.prototype.bind() | ECMAScript5, ECMAScript6, Function, JavaScript, Method, 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. |
||
291 | Function.prototype.call() | Function, JavaScript, Method |
The call() method calls a function with a given this value and arguments provided individually. |
||
292 | Function.prototype.isGenerator() | Function, JavaScript, Method |
The isGenerator() method determines whether or not a function is a generator. |
||
293 | Function.prototype.toSource() | Function, JavaScript, Method |
The toSource() method returns a string representing the source code of the object. |
||
294 | Function.prototype.toString() | Function, JavaScript, Method, Prototype |
The toString() method returns a string representing the source code of the function. |
||
295 | Generator | ECMAScript6, 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. |
||
296 | Generator.prototype.next() | ECMAScript6, 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. |
||
297 | Generator.prototype.return() | ECMAScript6, Generator, JavaScript, Method, Prototype, Reference |
The return() method returns the given value and finishes the generator. |
||
298 | Generator.prototype.throw() | ECMAScript6, 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 . |
||
299 | GeneratorFunction | Constructor, ECMAScript6, GeneratorFunction, Iterator, JavaScript, Reference |
The GeneratorFunction constructor creates a new generator function object. In JavaScript every generator function is actually a GeneratorFunction object. |
||
300 | GeneratorFunction.prototype | ECMAScript6, GeneratorFunction, Iterator, JavaScript, Property, Prototype, Reference, prototype |
The GeneratorFunction.prototype property represents the GeneratorFunction prototype object. |
||
301 | Infinity | JavaScript |
The global Infinity property is a numeric value representing infinity. |
||
302 | 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). |
||
303 | 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). |
||
304 | 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). |
||
305 | InternalError | Error, InternalError, JavaScript |
The InternalError object indicates an error that occurred internally in the JavaScript engine. For example: "InternalError: too much recursion". |
||
306 | InternalError.prototype | Error, InternalError, JavaScript, Property |
The InternalError.prototype property represents the prototype of the InternalError constructor. |
||
307 | 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. |
||
308 | 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. |
||
309 | Intl.Collator | Collator, Internationalization, JavaScript |
The Intl.Collator object is a constructor for collators, objects that enable language sensitive string comparison. |
||
310 | Intl.Collator.prototype | Collator, Internationalization, JavaScript, Property, Prototype, prototype |
The Intl.Collator.prototype property represents the prototype object for the Intl.Collator constructor. |
||
311 | Intl.Collator.prototype.compare | Collator, Internationalization, JavaScript, Property, Prototype, prototype |
The Intl.Collator.prototype.compare property returns a getter function that compares two strings according to the sort order of this Collator object. |
||
312 | 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. |
||
313 | 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. |
||
314 | Intl.DateTimeFormat | DateTimeFormat, Internationalization, JavaScript |
The Intl.DateTimeFormat object is a constructor for objects that enable language sensitive date and time formatting. |
||
315 | Intl.DateTimeFormat.prototype | DateTimeFormat, Internationalization, JavaScript, Property, Prototype, prototype |
The Intl.DateTimeFormat.prototype property represents the prototype object for the Intl.DateTimeFormat constructor. |
||
316 | Intl.DateTimeFormat.prototype.format | DateTimeFormat, Internationalization, JavaScript, Property, Prototype, 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. |
||
317 | 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. |
||
318 | 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. |
||
319 | 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. |
||
320 | Intl.NumberFormat | Internationalization, JavaScript, NumberFormat |
The Intl.NumberFormat object is a constructor for objects that enable language sensitive number formatting. |
||
321 | Intl.NumberFormat.prototype | Internationalization, JavaScript, NumberFormat, Property, Prototype, prototype |
The Intl.NumberFormat.prototype property represents the prototype object for the Intl.NumberFormat constructor. |
||
322 | Intl.NumberFormat.prototype.format | Internationalization, JavaScript, NumberFormat, Property, Prototype, 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. |
||
323 | 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. |
||
324 | 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. |
||
325 | 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. |
||
326 | 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. |
||
327 | JSON.parse() | ECMAScript5, 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. |
||
328 | 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. |
||
329 | Map | ECMAScript6, JavaScript, Map |
The Map object is a simple key/value map. Any value (both objects and primitive values) may be used as either a key or a value. |
||
330 | Map.prototype | ECMAScript6, JavaScript, Map, Property |
Technical review completed. | ||
331 | Map.prototype.clear() | ECMAScript6, JavaScript, Map, Method, Prototype |
The clear() method removes all elements from a Map object. |
||
332 | Map.prototype.delete() | ECMAScript6, JavaScript, Map, Method, Prototype, prototype |
The delete() method removes the specified element from a Map object. |
||
333 | Map.prototype.entries() | ECMAScript6, 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. |
||
334 | Map.prototype.forEach() | ECMAScript6, JavaScript, Map, Method, Prototype |
The forEach() method executes a provided function once per each key/value pair in the Map object, in insertion order. |
||
335 | Map.prototype.get() | ECMAScript6, JavaScript, Map, Method, Prototype, prototype |
The get() method returns a specified element from a Map object. |
||
336 | Map.prototype.has() | ECMAScript6, JavaScript, Map, Method, Prototype, prototype |
The has() method returns a boolean indicating whether an element with the specified key exists or not. |
||
337 | Map.prototype.keys() | ECMAScript6, 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. |
||
338 | Map.prototype.set() | ECMAScript6, JavaScript, Map, Method, Prototype |
The set() method adds or updates an element with a specified key and value to a Map object. |
||
339 | Map.prototype.size | ECMAScript6, JavaScript, Map, Property |
The size accessor property returns the number of elements in a Map object. |
||
340 | Map.prototype.values() | ECMAScript6, 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. |
||
341 | Map.prototype[@@iterator]() | ECMAScript6, 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. |
||
342 | Map.prototype[@@toStringTag] | ECMAScript6, JavaScript, Map, Property, Prototype, Reference, prototype |
The Map[@@toStringTag] property has an initial value of "Map". |
||
343 | get Map[@@species] | ECMAScript6, JavaScript, Map, Property |
The Map[@@species] accessor property returns the Map constructor. |
||
344 | Math | JavaScript, Math, Reference |
Math is a built-in object that has properties and methods for mathematical constants and functions. Not a function object. |
||
345 | Math.E | JavaScript, Math, Property, Reference |
The Math.E property represents the base of natural logarithms, e, approximately 2.718. |
||
346 | Math.LN10 | JavaScript, Math, Property, Reference |
The Math.LN10 property represents the natural logarithm of 10, approximately 2.302: |
||
347 | Math.LN2 | JavaScript, Math, Property, Reference |
The Math.LN2 property represents the natural logarithm of 2, approximately 0.693: |
||
348 | Math.LOG10E | JavaScript, Math, Property, Reference |
The Math.LOG10E property represents the base 10 logarithm of e, approximately 0.434: |
||
349 | Math.LOG2E | JavaScript, Math, Property, Reference |
The Math.LOG2E property represents the base 2 logarithm of e, approximately 1.442: |
||
350 | 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: |
||
351 | Math.SQRT1_2 | JavaScript, Math, Property, Reference |
The Math.SQRT1_2 property represents the square root of 1/2 which is approximately 0.707: |
||
352 | Math.SQRT2 | JavaScript, Math, Property, Reference |
The Math.SQRT2 property represents the square root of 2, approximately 1.414: |
||
353 | Math.abs() | JavaScript, Math, Method, Reference |
The Math.abs() function returns the absolute value of a number, that is |
||
354 | Math.acos() | JavaScript, Math, Method, Reference |
The Math.acos() function returns the arccosine (in radians) of a number, that is |
||
355 | Math.acosh() | JavaScript, Math, Method, Reference |
The Math.acosh() function returns the hyperbolic arc-cosine of a number, that is |
||
356 | Math.asin() | JavaScript, Math, Method, Reference |
The Math.asin() function returns the arcsine (in radians) of a number, that is |
||
357 | Math.asinh() | JavaScript, Math, Method, Reference |
The Math.asinh() function returns the hyperbolic arcsine of a number, that is |
||
358 | Math.atan() | JavaScript, Math, Method, Reference |
The Math.atan() function returns the arctangent (in radians) of a number, that is |
||
359 | Math.atan2() | JavaScript, Math, Method, Reference |
The Math.atan2() function returns the arctangent of the quotient of its arguments. |
||
360 | Math.atanh() | JavaScript, Math, Method, Reference |
The Math.atanh() function returns the hyperbolic arctangent of a number, that is |
||
361 | Math.cbrt() | JavaScript, Math, Method, Reference |
The Math.cbrt() function returns the cube root of a number, that is |
||
362 | Math.ceil() | JavaScript, Math, Method, Reference |
The Math.ceil() function returns the smallest integer greater than or equal to a given number. |
||
363 | Math.clz32() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.clz32() function returns the number of leading zero bits in the 32-bit binary representation of a number. |
||
364 | Math.cos() | JavaScript, Math, Method, Reference |
The Math.cos() function returns the cosine of a number. |
||
365 | 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: |
||
366 | 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. |
||
367 | 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. |
||
368 | Math.floor() | JavaScript, Math, Method, Reference |
The Math.floor() function returns the largest integer less than or equal to a given number. |
||
369 | Math.fround() | JavaScript, Math, Method, Reference |
The Math.fround() function returns the nearest single precision float representation of a number. |
||
370 | Math.hypot() | JavaScript, Math, Method, Reference |
The Math.hypot() function returns the square root of the sum of squares of its arguments, that is |
||
371 | Math.imul() | JavaScript, Math, Method, Reference |
The Math.imul() function returns the result of the C-like 32-bit multiplication of the two parameters. |
||
372 | Math.log() | JavaScript, Math, Method, Reference |
The Math.log() function returns the natural logarithm (base e ) of a number, that is |
||
373 | Math.log10() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.log10() function returns the base 10 logarithm of a number, that is |
||
374 | Math.log1p() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.log1p() function returns the natural logarithm (base e ) of 1 + a number, that is |
||
375 | Math.log2() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.log2() function returns the base 2 logarithm of a number, that is |
||
376 | Math.max() | JavaScript, Math, Method, Reference |
The Math.max() function returns the largest of zero or more numbers. |
||
377 | Math.min() | JavaScript, Math, Method, Reference |
The Math.min() function returns the smallest of zero or more numbers. |
||
378 | Math.pow() | JavaScript, Math, Method, Reference |
The Math.pow() function returns the base to the exponent power, that is, baseexponent . |
||
379 | 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. |
||
380 | Math.round() | JavaScript, Math, Method, Reference |
The Math.round() function returns the value of a number rounded to the nearest integer. |
||
381 | 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. |
||
382 | Math.sin() | JavaScript, Math, Method, Reference |
The Math.sin() function returns the sine of a number. |
||
383 | Math.sinh() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.sinh() function returns the hyperbolic sine of a number, that can be expressed using the constant e: |
||
384 | Math.sqrt() | JavaScript, Math, Method, Reference |
The Math.sqrt() function returns the square root of a number, that is |
||
385 | Math.tan() | JavaScript, Math, Method, Reference |
The Math.tan() function returns the tangent of a number. |
||
386 | Math.tanh() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.tanh() function returns the hyperbolic tangent of a number, that is |
||
387 | Math.trunc() | ECMAScript6, JavaScript, Math, Method, Reference |
The Math.trunc() function returns the integral part of a number by removing any fractional digits. |
||
388 | NaN | JavaScript |
The global NaN property is a value representing Not-A-Number. |
||
389 | 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. |
||
390 | Number.EPSILON | ECMAScript6, JavaScript, Number, Property |
The Number.EPSILON property represents the difference between one and the smallest value greater than one that can be represented as a Number . |
||
391 | Number.MAX_SAFE_INTEGER | ECMAScript6, JavaScript, Number, Property |
The Number.MAX_SAFE_INTEGER constant represents the maximum safe integer in JavaScript (253 - 1 ). |
||
392 | Number.MAX_VALUE | JavaScript, Number, Property |
The Number.MAX_VALUE property represents the maximum numeric value representable in JavaScript. |
||
393 | Number.MIN_SAFE_INTEGER | ECMAScript6, JavaScript, Number, Property |
The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(253 - 1) ). |
||
394 | Number.MIN_VALUE | JavaScript, Number, Property |
The Number.MIN_VALUE property represents the smallest positive numeric value representable in JavaScript. |
||
395 | Number.NEGATIVE_INFINITY | JavaScript, Number, Property |
The Number.NEGATIVE_INFINITY property represents the negative Infinity value. |
||
396 | Number.NaN | JavaScript, Number, Property |
The Number.NaN property represents Not-A-Number. Equivalent of NaN . |
||
397 | Number.POSITIVE_INFINITY | JavaScript, Number, Property |
The Number.POSITIVE_INFINITY property represents the positive Infinity value. |
||
398 | Number.isFinite() | JavaScript, Method, Number, Reference |
The Number.isFinite() method determines whether the passed value is a finite number. |
||
399 | Number.isInteger() | JavaScript, Method, Number, Reference |
The Number.isInteger() method determines whether the passed value is an integer. |
||
400 | Number.isNaN() | ECMAScript6, JavaScript, Method, Number |
The Number.isNaN() method determines whether the passed value is NaN . It is a more robust version of the original, global isNaN() . |
||
401 | Number.isSafeInteger() | ECMAScript6, JavaScript, Method, Number |
Editorial review completed. | ||
402 | Number.parseFloat() | ECMAScript6, 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 6 (its purpose is modularization of globals). |
||
403 | Number.parseInt() | ECMAScript6, JavaScript, Method, Number |
The Number.parseInt() method parses a string argument and returns an integer of the specified radix or base. |
||
404 | Number.prototype | JavaScript, Number, Property, Prototype, prototype |
The Number.prototype property represents the prototype for the Number constructor. |
||
405 | Number.prototype.toExponential() | JavaScript, Method, Number, Prototype |
The toExponential() method returns a string representing the Number object in exponential notation. |
||
406 | Number.prototype.toFixed() | JavaScript, Method, Number, Prototype |
The toFixed() method formats a number using fixed-point notation. |
||
407 | Number.prototype.toLocaleString() | Internationalization, JavaScript, Method, Number, Prototype |
The toLocaleString() method returns a string with a language sensitive representation of this number. |
||
408 | Number.prototype.toPrecision() | JavaScript, Method, Number, Prototype |
The toPrecision() method returns a string representing the Number object to the specified precision. |
||
409 | Number.prototype.toSource() | JavaScript, Method, Number, Prototype |
The toSource() method returns a string representing the source code of the object. |
||
410 | Number.prototype.toString() | JavaScript, Method, Number, Prototype |
The toString() method returns a string representing the specified Number object. |
||
411 | Number.prototype.valueOf() | JavaScript, Method, Number, Prototype |
The valueOf() method returns the wrapped primitive value of a Number object. |
||
412 | 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. |
||
413 | Object | Constructor, JavaScript, Object |
The Object constructor creates an object wrapper. |
||
414 | Object.assign() | ECMAScript6, 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. |
||
415 | Object.create() | ECMAScript5, JavaScript, Method, Object, Reference, polyfill |
The Object.create() method creates a new object with the specified prototype object and properties. |
||
416 | Object.defineProperties() | ECMAScript5, JavaScript, Method, Object |
The Object.defineProperties() method defines new or modifies existing properties directly on an object, returning the object. |
||
417 | Object.defineProperty() | ECMAScript5, 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. |
||
418 | Additional examples for Object.defineProperty | Examples, JavaScript, Object |
This page provides additional examples for Object.defineProperty() . |
||
419 | Object.entries() | Experimental, JavaScript, Method, Object, Reference |
The Object.entries() method returns an array of a given object's own enumerable property [key, value] pairs, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well). |
||
420 | Object.freeze() | ECMAScript5, 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. In essence the object is made effectively immutable. The method returns the object being frozen. |
||
421 | 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. |
||
422 | Object.getOwnPropertyDescriptor() | ECMAScript5, 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. |
||
423 | Object.getOwnPropertyDescriptors() | JavaScript, Method, Object |
The Object.getOwnPropertyDescriptors() method returns all own property descriptors of a given object. |
||
424 | Object.getOwnPropertyNames() | ECMAScript5, 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. |
||
425 | Object.getOwnPropertySymbols() | ECMAScript6, JavaScript, Method, Object |
The Object.getOwnPropertySymbols() method returns an array of all symbol properties found directly upon a given object. |
||
426 | Object.getPrototypeOf() | ECMAScript5, JavaScript, Method, Object |
The Object.getPrototypeOf() method returns the prototype (i.e. the value of the internal [[Prototype]] property) of the specified object. |
||
427 | Object.is() | Comparison, Condition, Conditional, ECMAScript6, Equality, JavaScript, Method, Object |
The Object.is() method determines whether two values are the same value. |
||
428 | Object.isExtensible() | ECMAScript5, 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). |
||
429 | Object.isFrozen() | ECMAScript5, JavaScript, JavaScript 1.8.5, Method, Object |
The Object.isFrozen() determines if an object is frozen. |
||
430 | Object.isSealed() | ECMAScript5, JavaScript, JavaScript 1.8.5, Method, Object |
The Object.isSealed() method determines if an object is sealed. |
||
431 | Object.keys() | ECMAScript5, 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). |
||
432 | 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. |
||
433 | Object.preventExtensions() | ECMAScript5, 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). |
||
434 | Object.prototype | JavaScript, Object, Property |
The Object.prototype property represents the Object prototype object. |
||
435 | 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. |
||
436 | 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. |
||
437 | Object.prototype.__defineSetter__() | Deprecated, JavaScript, Method, Object, Prototype, prototype |
The __defineSetter__ method binds an object's property to a function to be called when an attempt is made to set that property. |
||
438 | Object.prototype.__lookupGetter__() | Deprecated, JavaScript, Method, Object, Prototype, prototype |
The __lookupGetter__ method returns the function bound as a getter to the specified property. |
||
439 | Object.prototype.__lookupSetter__() | Deprecated, JavaScript, Method, Object, Prototype, prototype |
The __lookupSetter__ method returns the function bound as a setter to the specified property. |
||
440 | Object.prototype.__noSuchMethod__ | JavaScript, Object, Obsolete, Property, Prototype, 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. |
||
441 | Object.prototype.__parent__ | JavaScript, Object, Obsolete, Property, Prototype |
The __parent__ property used to point to an object's context, but it has been removed. |
||
442 | Object.prototype.__proto__ | Deprecated, 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. |
||
443 | Object.prototype.constructor | JavaScript, Object, Property, Prototype |
Returns a reference to the Object function that created the instance's prototype. 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 1 , true and "test" . |
||
444 | 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. |
||
445 | Object.prototype.hasOwnProperty() | JavaScript, Method, Object, Prototype |
The hasOwnProperty() method returns a boolean indicating whether the object has the specified property. |
||
446 | Object.prototype.isPrototypeOf() | JavaScript, Method, Object, Prototype, Reference, isPrototype |
The isPrototypeOf() method tests for an object in another object's prototype chain. |
||
447 | Object.prototype.propertyIsEnumerable() | JavaScript, Method, Object, Prototype |
The propertyIsEnumerable() method returns a Boolean indicating whether the specified property is enumerable. |
||
448 | Object.prototype.toLocaleString() | JavaScript, Method, Object, Prototype, prototype |
The toLocaleString() method returns a string representing the object. This method is meant to be overridden by derived objects for locale-specific purposes. |
||
449 | Object.prototype.toSource() | JavaScript, Method, Object, Prototype |
The toSource() method returns a string representing the source code of the object. |
||
450 | Object.prototype.toString() | JavaScript, Method, Object, Prototype |
The toString() method returns a string representing the object. |
||
451 | Object.prototype.unwatch() | JavaScript, Method, Object, Prototype, Reference |
The unwatch() method removes a watchpoint set with the watch() method. |
||
452 | Object.prototype.valueOf() | JavaScript, Method, Object, Prototype |
The valueOf() method returns the primitive value of the specified object. |
||
453 | 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. |
||
454 | Object.seal() | ECMAScript5, 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. |
||
455 | Object.setPrototypeOf() | ECMAScript6, 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 . |
||
456 | 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. |
||
457 | Object.values() | Experimental, JavaScript, Method, Object, Reference |
The Object.values() method returns an array of a given object's own enumerable property values, in the same order as that provided by a for...in loop (the difference being that a for-in loop enumerates properties in the prototype chain as well). |
||
458 | 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. |
||
459 | Promise | ECMAScript6, JavaScript, Promise |
The Promise object is used for asynchronous computations. A Promise represents a value which may be available now, or in the future, or never. |
||
460 | Promise.all() | ECMAScript6, JavaScript, Method, Promise |
The Promise.all(iterable) method returns a promise that resolves when all of the promises in the iterable argument have resolved, or rejects with the reason of the first passed promise that rejects. |
||
461 | Promise.prototype | JavaScript, Promise, Property |
The Promise .prototype property represents the prototype for the Promise constructor. |
||
462 | Promise.prototype.catch() | ECMAScript6, 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) . |
||
463 | Promise.prototype.then() | ECMAScript6, JavaScript, Method, Promise, Prototype |
The then() method returns a Promise . It takes two arguments: callback functions for the success and failure cases of the Promise . |
||
464 | Promise.race() | ECMAScript6, 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. |
||
465 | Promise.reject() | ECMAScript6, JavaScript, Method, Promise |
The Promise.reject(reason) method returns a Promise object that is rejected with the given reason. |
||
466 | Promise.resolve() | ECMAScript6, 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; otherwise the returned promise will be fulfilled with the value. |
||
467 | Proxy | ECMAScript6, JavaScript, Proxy |
The Proxy object is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc). | ||
468 | Proxy handler | ECMAScript6, JavaScript, Proxy |
The proxy's handler object is a placeholder object which contains traps for proxies. | ||
469 | handler.apply() | ECMAScript6, JavaScript, Method, Proxy |
The handler.apply() method is a trap for a function call. |
||
470 | handler.construct() | ECMAScript6, JavaScript, Method, Proxy |
The handler.construct() method is a trap for the new operator. |
||
471 | handler.defineProperty() | ECMAScript6, JavaScript, Method, Proxy |
The handler.defineProperty() method is a trap for Object.defineProperty() . |
||
472 | handler.deleteProperty() | ECMAScript6, JavaScript, Method, Proxy |
The handler.deleteProperty() method is a trap for the delete operator. |
||
473 | handler.enumerate() | ECMAScript6, 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 edition 7 and is deprecated in browsers. |
||
474 | handler.get() | ECMAScript6, JavaScript, Method, Proxy |
The handler.get() method is a trap for getting a property value. |
||
475 | handler.getOwnPropertyDescriptor() | ECMAScript6, JavaScript, Method, Proxy |
The handler.getOwnPropertyDescriptor() method is a trap for Object.getOwnPropertyDescriptor() . |
||
476 | handler.getPrototypeOf() | ECMAScript6, JavaScript, Javascript, Method, Proxy, javascript |
The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] internal method. |
||
477 | handler.has() | ECMAScript6, JavaScript, Method, Proxy |
The handler.has() method is a trap for the in operator. |
||
478 | handler.isExtensible() | ECMAScript6, JavaScript, Method, Proxy |
The handler.isExtensible() method is a trap for Object.isExtensible() . |
||
479 | handler.ownKeys() | ECMAScript6, JavaScript, Method, Proxy |
The handler.ownKeys() method is a trap for Object.getOwnPropertyNames() . |
||
480 | handler.preventExtensions() | ECMAScript6, JavaScript, Method, Proxy |
The handler.preventExtensions() method is a trap for Object.preventExtensions() . |
||
481 | handler.set() | ECMAScript6, JavaScript, Method, Proxy |
The handler.set() method is a trap for setting a property value. |
||
482 | handler.setPrototypeOf() | ECMAScript6, JavaScript, Method, Prototype, Proxy, prototype |
The handler.setPrototypeOf() method is a trap for Object.setPrototypeOf() . |
||
483 | Proxy.revocable() | ECMAScript6, JavaScript, Method, Proxy |
The Proxy.revocable() method is used to create a revocable Proxy object. |
||
484 | RangeError | Error, JavaScript, Object, RangeError |
The RangeError object indicates an error when a value is not in the set or range of allowed values. |
||
485 | RangeError.prototype | Error, JavaScript, Property, Prototype, RangeError, prototype |
The RangeError.prototype property represents the prototype the RangeError constructor. |
||
486 | ReferenceError | Error, JavaScript, Object, Reference, ReferenceError |
The ReferenceError object represents an error when a non-existent variable is referenced. |
||
487 | ReferenceError.prototype | Error, JavaScript, Property, Prototype, ReferenceError, prototype |
The ReferenceError.prototype property represents the prototype for the ReferenceError constructor. |
||
488 | Reflect | ECMAScript6, 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. |
||
489 | Reflect.apply() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .apply() method calls a target function with arguments as specified. |
||
490 | Reflect.construct() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .construct() method acts like the new operator as a function. It is equivalent to calling new target(...args) . |
||
491 | Reflect.defineProperty() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .defineProperty() method is like Object.defineProperty() but returns a Boolean . |
||
492 | Reflect.deleteProperty() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .deleteProperty() method allows to delete properties. It is like the delete operator as a function. |
||
493 | Reflect.enumerate() | ECMAScript6, 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 from the ECMAScript standard in edition 7 and is deprecated in browsers. |
||
494 | Reflect.get() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .get() method works like getting a property from an object (target[propertyKey] ) as a function. |
||
495 | Reflect.getOwnPropertyDescriptor() | ECMAScript6, 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. |
||
496 | Reflect.getPrototypeOf() | ECMAScript6, 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. |
||
497 | Reflect.has() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .has() method works like the in operator as a function. |
||
498 | Reflect.isExtensible() | ECMAScript6, 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. |
||
499 | Reflect.ownKeys() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .ownKeys() method returns an array of the target object's own property keys. |
||
500 | Reflect.preventExtensions() | ECMAScript6, 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. |
||
501 | Reflect.set() | ECMAScript6, JavaScript, Method, Reflect |
The static Reflect .set() method works like setting a property on an object. |
||
502 | Reflect.setPrototypeOf() | ECMAScript6, 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 . |
||
503 | RegExp | Constructor, JavaScript, Reference, RegExp, Regular Expressions |
The RegExp constructor creates a regular expression object for matching text with a pattern. |
||
504 | 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. | ||
505 | 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. |
||
506 | 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. |
||
507 | 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. |
||
508 | 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. |
||
509 | RegExp.prototype | JavaScript, Property, Prototype, Reference, RegExp, prototype |
The RegExp.prototype property represents the prototype object for the RegExp constructor. |
||
510 | RegExp.prototype.compile() | Deprecated, JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions, prototype |
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. |
||
511 | 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 . |
||
512 | RegExp.prototype.flags | ECMAScript6, JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions |
The flags property returns a string consisting of the flags of the current regular expression object. |
||
513 | 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. |
||
514 | 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. |
||
515 | 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. |
||
516 | 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. |
||
517 | RegExp.prototype.sticky | ECMAScript6, 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. |
||
518 | 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 . |
||
519 | RegExp.prototype.toSource() | JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions |
The toSource() method returns a string representing the source code of the object. |
||
520 | RegExp.prototype.toString() | JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions |
The toString() method returns a string representing the regular expression. |
||
521 | RegExp.prototype.unicode | ECMAScript6, 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. |
||
522 | RegExp.prototype[@@match]() | JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions |
The [@@match]() method retrieves the matches when matching a string against a regular expression. |
||
523 | RegExp.prototype[@@replace]() | JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions, prototype |
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. |
||
524 | 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. |
||
525 | RegExp.prototype[@@split]() | JavaScript, Method, Prototype, Reference, RegExp, Regular Expressions, prototype |
The [@@split]() method splits a String object into an array of strings by separating the string into substrings. |
||
526 | 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. |
||
527 | get RegExp[@@species] | JavaScript, Property, Prototype, Reference, RegExp, Regular Expressions, prototype |
The RegExp[@@species] accessor property returns the RegExp constructor. |
||
528 | 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. |
||
529 | 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. | ||
530 | 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. |
||
531 | SIMD.%type%.add() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.add() method returns a new instance with the lane values added (a + b ). |
||
532 | 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. |
||
533 | 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. |
||
534 | 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. |
||
535 | 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. |
||
536 | 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. |
||
537 | 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. |
||
538 | 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. |
||
539 | SIMD.%type%.extractLane() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.extractLane() method returns the value of a given lane. |
||
540 | 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. |
||
541 | 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. |
||
542 | 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. |
||
543 | 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. |
||
544 | 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. |
||
545 | 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. |
||
546 | 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. |
||
547 | 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. |
||
548 | 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. |
||
549 | 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. |
||
550 | 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. |
||
551 | 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. |
||
552 | 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. |
||
553 | 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. |
||
554 | 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. |
||
555 | 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. |
||
556 | 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) ). |
||
557 | 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 . |
||
558 | 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) ). |
||
559 | 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 . |
||
560 | SIMD.%type%.mul() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.mul() method returns a new instance with the lane values multiplied (a * b ). |
||
561 | SIMD.%type%.neg() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.mul() method returns a new instance with the lane values negated. |
||
562 | 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. |
||
563 | 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. |
||
564 | 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. |
||
565 | 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. |
||
566 | SIMD.%type%.prototype.toString() | Experimental, JavaScript, Method, SIMD |
The SIMD.%type%.toString() method returns a String representing a SIMD object. |
||
567 | SIMD.%type%.prototype.valueOf() | Experimental, JavaScript, Method, SIMD |
The SIMD.%type%.valueOf() method performs a type check returns the this value. |
||
568 | 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 ). |
||
569 | 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. |
||
570 | 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. |
||
571 | 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. |
||
572 | 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 ). |
||
573 | 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: |
||
574 | 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. |
||
575 | 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. |
||
576 | 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). |
||
577 | SIMD.%type%.store() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.store() methods store a SIMD data type into a typed array. |
||
578 | SIMD.%type%.sub() | Experimental, JavaScript, Method, SIMD |
The static SIMD.%type%.sub() method returns a new instance with the lane values subtracted (a - b ). |
||
579 | 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. |
||
580 | 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). |
||
581 | 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 ). |
||
582 | SIMD.Bool16x8 | Experimental, JavaScript, SIMD |
The SIMD.Bool16x8 data type is a 128-bit vector divided into 8 lanes storing boolean values. |
||
583 | SIMD.Bool32x4 | Experimental, JavaScript, SIMD |
The SIMD.Bool32x4 data type is a 128-bit vector divided into 4 lanes storing boolean values. |
||
584 | SIMD.Bool64x2 | Experimental, JavaScript, SIMD |
The SIMD.Bool64x2 data type is a 128-bit vector divided into 2 lanes storing boolean values. |
||
585 | SIMD.Bool8x16 | Experimental, JavaScript, SIMD |
The SIMD.Bool8x16 data type is a 128-bit vector divided into 16 lanes storing boolean values. |
||
586 | 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. |
||
587 | 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. |
||
588 | 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. |
||
589 | 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. |
||
590 | 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. |
||
591 | 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. |
||
592 | 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. |
||
593 | 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. |
||
594 | Set | ECMAScript6, JavaScript, set |
The Set object lets you store unique values of any type, whether primitive values or object references. |
||
595 | Set.prototype | ECMAScript6, JavaScript, Property, set |
The Set .prototype property represents the prototype for the Set constructor. |
||
596 | Set.prototype.add() | ECMAScript6, JavaScript, Method, Prototype, set |
The add() method appends a new element with a specified value to the end of a Set object. |
||
597 | Set.prototype.clear() | ECMAScript6, JavaScript, Method, Prototype, set |
The clear() method removes all elements from a Set object. |
||
598 | Set.prototype.delete() | ECMAScript6, JavaScript, Method, Prototype, set |
The delete() method removes the specified element from a Set object. |
||
599 | Set.prototype.entries() | ECMAScript6, 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. |
||
600 | Set.prototype.forEach() | ECMAScript6, JavaScript, Method, Prototype, set |
The forEach() method executes a provided function once per each value in the Set object, in insertion order. |
||
601 | Set.prototype.has() | ECMAScript6, 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. |
||
602 | Set.prototype.size | ECMAScript6, JavaScript, Property, Prototype, set |
The size accessor property returns the number of elements in a Set object. |
||
603 | Set.prototype.values() | ECMAScript6, 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. |
||
604 | Set.prototype[@@iterator]() | ECMAScript6, 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. |
||
605 | get Set[@@species] | ECMAScript6, JavaScript, Property, set |
The Set[@@species] accessor property returns the Set constructor. |
||
606 | SharedArrayBuffer | Constructor, Experimental, JavaScript, Shared Memory, SharedArrayBuffer, TypedArrays |
The SharedArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer, similar to the ArrayBuffer object, but in a way that they can be used to create views on shared memory. Unlike an ArrayBuffer , a SharedArrayBuffer cannot become detached. |
||
607 | SharedArrayBuffer.prototype | Experimental, JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays |
The SharedArrayBuffer.prototype property represents the prototype for the SharedArrayBuffer object. |
||
608 | SharedArrayBuffer.prototype.byteLength | Experimental, JavaScript, Property, Shared Memory, SharedArrayBuffer, TypedArrays |
The byteLength accessor property represents the length of an SharedArrayBuffer in bytes. |
||
609 | StopIteration | Deprecated, JavaScript, Legacy Iterator, Reference, StopIteration |
The StopIteration object is used to tell the end of the iteration in the legacy iterator protocol. |
||
610 | String | ECMAScript6, JavaScript, Reference, String |
The String global object is a constructor for strings, or a sequence of characters. |
||
611 | String.fromCharCode() | JavaScript, Method, Reference, String, Unicode |
The static String.fromCharCode() method returns a string created by using the specified sequence of Unicode values. |
||
612 | String.fromCodePoint() | ECMAScript6, JavaScript, Method, Reference, String |
The static String.fromCodePoint() method returns a string created by using the specified sequence of code points. |
||
613 | String.prototype | JavaScript, Property, Prototype, Reference, String |
The String.prototype property represents the String prototype object. |
||
614 | String.prototype.anchor() | HTML wrapper methods, JavaScript, Method, Prototype, Reference, String |
The anchor() method creates an <a> HTML anchor element that is used as a hypertext target. |
||
615 | 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. |
||
616 | String.prototype.blink() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String, prototype |
The blink() method creates a <blink> HTML element that causes a string to blink. |
||
617 | 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. |
||
618 | String.prototype.charAt() | JavaScript, Method, Prototype, Reference, String |
The charAt() method returns the specified character from a string. |
||
619 | 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 (). |
||
620 | String.prototype.codePointAt() | ECMAScript6, JavaScript, Method, Prototype, Reference, String |
The codePointAt() method returns a non-negative integer that is the Unicode code point value. |
||
621 | String.prototype.concat() | JavaScript, Method, Prototype, Reference, String |
The concat() method combines the text of one or more strings and returns a new string. |
||
622 | String.prototype.endsWith() | JavaScript, Method, Prototype, Reference, String |
The endsWith() method determines whether a string ends with the characters of another string, returning true or false as appropriate. |
||
623 | String.prototype.fixed() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String, prototype |
The fixed() method creates a <tt> HTML element that causes a string to be displayed in fixed-pitch font. |
||
624 | String.prototype.fontcolor() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String, prototype |
The fontcolor() method creates a <font> HTML element that causes a string to be displayed in the specified font color. |
||
625 | String.prototype.fontsize() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String, prototype |
The fontsize() method creates a <font> HTML element that causes a string to be displayed in the specified font size. |
||
626 | 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. |
||
627 | 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. |
||
628 | String.prototype.italics() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String, prototype |
The italics() method creates an <i> HTML element that causes a string to be italic. |
||
629 | 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. |
||
630 | String.prototype.link() | 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. |
||
631 | 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. |
||
632 | String.prototype.match() | JavaScript, Method, Prototype, Reference, Regular Expressions, String |
The match() method retrieves the matches when matching a string against a regular expression. |
||
633 | String.prototype.normalize() | ECMAScript6, 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). |
||
634 | String.prototype.padEnd() | Experimental, JavaScript, Method, Reference, String |
The padEnd() method pads the current string with a given string (eventually repeated) so that the resulting string reaches a given length. The pad is applied from the end (right) of the current string. |
||
635 | String.prototype.padStart() | Experimental, JavaScript, Method, Reference, String |
The padStart() method pads the current string with a given string (eventually repeated) so that the resulting string reaches a given length. The pad is applied from the start (left) of the current string. |
||
636 | String.prototype.quote() | JavaScript, Method, Obsolete, Prototype, Reference, String, prototype |
The non-standard quote() method returns a copy of the string, replacing various special characters in the string with their escape sequences and wrapping the result in double-quotes (" ). |
||
637 | String.prototype.repeat() | ECMAScript6, 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. |
||
638 | 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. |
||
639 | 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. |
||
640 | String.prototype.slice() | JavaScript, Method, Prototype, Reference, String |
The slice() method extracts a section of a string and returns a new string. |
||
641 | String.prototype.small() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, Reference, String, prototype |
The small() method creates a <small> HTML element that causes a string to be displayed in a small font. |
||
642 | 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. |
||
643 | String.prototype.startsWith() | ECMAScript6, JavaScript, Method, Prototype, Reference, String |
The startsWith() method determines whether a string begins with the characters of another string, returning true or false as appropriate. |
||
644 | String.prototype.strike() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String, prototype |
The strike() method creates a <strike> HTML element that causes a string to be displayed as struck-out text. |
||
645 | String.prototype.sub() | Deprecated, HTML wrapper methods, JavaScript, Method, Prototype, String, prototype |
The sub() method creates a <sub> HTML element that causes a string to be displayed as subscript. |
||
646 | String.prototype.substr() | JavaScript, Method, Prototype, Reference, String |
Technical review completed. | ||
647 | 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. |
||
648 | 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. |
||
649 | String.prototype.toLocaleLowerCase() | Internationalization, JavaScript, Method, Prototype, Reference, String, prototype |
The toLocaleLowerCase() method returns the calling string value converted to lower case, according to any locale-specific case mappings. |
||
650 | String.prototype.toLocaleUpperCase() | Internationalization, JavaScript, Method, Prototype, Reference, String, prototype |
The toLocaleUpperCase() method returns the calling string value converted to upper case, according to any locale-specific case mappings. |
||
651 | String.prototype.toLowerCase() | JavaScript, Method, Prototype, Reference, String |
The toLowerCase() method returns the calling string value converted to lower case. |
||
652 | String.prototype.toSource() | JavaScript, Method, Non-Standard, Non-standard, Prototype, Reference, String, prototype |
The toSource() method returns a string representing the source code of the object. |
||
653 | String.prototype.toString() | JavaScript, Method, Prototype, Reference, String, prototype |
The toString() method returns a string representing the specified object. |
||
654 | String.prototype.toUpperCase() | JavaScript, Method, Prototype, Reference, String |
The toUpperCase() method returns the calling string value converted to upper case. |
||
655 | String.prototype.trim() | ECMAScript5, 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.). |
||
656 | String.prototype.trimLeft() | JavaScript, Method, Prototype, Reference, String |
The trimLeft() method removes whitespace from the left end of a string. |
||
657 | String.prototype.trimRight() | JavaScript, Method, Prototype, Reference, String |
The trimRight() method removes whitespace from the right end of a string. |
||
658 | String.prototype.valueOf() | JavaScript, Method, Prototype, Reference, String |
The valueOf() method returns the primitive value of a String object. |
||
659 | String.prototype[@@iterator]() | ECMAScript6, Iterator, JavaScript, Method, Prototype, Reference, String, prototype |
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. |
||
660 | String.raw() | ECMAScript6, 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). |
||
661 | string.length | JavaScript, Property, Prototype, Reference, String |
The length property represents the length of a string. |
||
662 | Symbol | ECMAScript6, JavaScript, Symbol |
A symbol is a unique and immutable data type. It may be used as an identifier for object properties. The Symbol object is an implicit object wrapper for the symbol primitive data type. | ||
663 | Symbol.for() | ECMAScript6, 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. |
||
664 | Symbol.hasInstance | ECMAScript6, 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. |
||
665 | Symbol.isConcatSpreadable | ECMAScript6, 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. |
||
666 | Symbol.iterator | ECMAScript6, JavaScript, Property, Symbol |
The Symbol.iterator well-known symbol specifies the default iterator for an object. Used by for...of . |
||
667 | Symbol.keyFor() | ECMAScript6, JavaScript, Method, Symbol |
The Symbol.keyFor(sym) method retrieves a shared symbol key from the global symbol registry for the given symbol. |
||
668 | Symbol.match | ECMAScript6, 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. |
||
669 | Symbol.prototype | JavaScript, Property, Symbol |
The Symbol .prototype property represents the prototype for the Symbol constructor. |
||
670 | Symbol.prototype.toSource() | JavaScript, Method, Prototype, Symbol, prototype |
The toSource() method returns a string representing the source code of the object. |
||
671 | Symbol.prototype.toString() | ECMAScript6, JavaScript, Method, Prototype, Symbol, prototype |
The toString() method returns a string representing the specified Symbol object. |
||
672 | Symbol.prototype.valueOf() | ECMAScript6, JavaScript, Method, Prototype, Symbol, prototype |
The valueOf() method returns the primitive value of a Symbol object. |
||
673 | Symbol.prototype[@@toPrimitive] | ECMAScript6, JavaScript, Method, Prototype, Symbol, prototype |
The [@@toPrimitive]() method converts a Symbol object to a primitive value. |
||
674 | Symbol.replace | ECMAScript6, 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. |
||
675 | Symbol.search | ECMAScript6, 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. |
||
676 | Symbol.species | ECMAScript6, JavaScript, Property, Symbol |
The Symbol.species well-known symbol specifies a function valued property that is the constructor function that is used to create derived objects. |
||
677 | Symbol.split | ECMAScript6, 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. |
||
678 | Symbol.toPrimitive | ECMAScript6, 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. |
||
679 | Symbol.toStringTag | ECMAScript6, 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. |
||
680 | Symbol.unscopables | ECMAScript6, 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. |
||
681 | SyntaxError | Error, JavaScript, Object, Reference, SyntaxError |
The SyntaxError object represents an error when trying to interpret syntactically invalid code. |
||
682 | SyntaxError.prototype | Error, JavaScript, Property, Prototype, SyntaxError |
The SyntaxError.prototype property represents the prototype for the SyntaxError constructor. |
||
683 | TypeError | Error, JavaScript, Object, Reference, TypeError |
The TypeError object represents an error when a value is not of the expected type. |
||
684 | TypeError.prototype | Error, JavaScript, Property, Prototype, TypeError, prototype |
The TypeError.prototype property represents the prototype for the TypeError constructor. |
||
685 | 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. |
||
686 | 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. |
||
687 | TypedArray.from() | ECMAScript6, 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() . |
||
688 | TypedArray.name | JavaScript, Property, TypedArray, TypedArrays |
The TypedArray.name property represents a string value of the typed array constructor name. |
||
689 | TypedArray.of() | ECMAScript6, 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() . |
||
690 | TypedArray.prototype | JavaScript, Property, TypedArray, TypedArrays |
The TypedArray .prototype property represents the prototype for TypedArray constructors. |
||
691 | TypedArray.prototype.buffer | JavaScript, Property, Prototype, TypedArray, TypedArrays, prototype |
The buffer accessor property represents the ArrayBuffer referenced by a TypedArray at construction time. |
||
692 | TypedArray.prototype.byteLength | JavaScript, Property, Prototype, TypedArray, TypedArrays, prototype |
The byteLength accessor property represents the length (in bytes) of a typed array. |
||
693 | TypedArray.prototype.byteOffset | JavaScript, Property, Prototype, TypedArray, TypedArrays, prototype |
The byteOffset accessor property represents the offset (in bytes) of a typed array from the start of its ArrayBuffer . |
||
694 | TypedArray.prototype.copyWithin() | JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
695 | TypedArray.prototype.entries() | ECMAScript6, Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
The entries() method returns a new Array Iterator object that contains the key/value pairs for each index in the array. |
||
696 | TypedArray.prototype.every() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
697 | TypedArray.prototype.fill() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
698 | TypedArray.prototype.filter() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
699 | TypedArray.prototype.find() | ECMAScript6, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
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. |
||
700 | TypedArray.prototype.findIndex() | ECMAScript6, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
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. |
||
701 | TypedArray.prototype.forEach() | ECMAScript6, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
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. |
||
702 | TypedArray.prototype.includes() | ECMAScript7, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
703 | TypedArray.prototype.indexOf() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
704 | TypedArray.prototype.join() | ECMAScript6, 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. |
||
705 | TypedArray.prototype.keys() | ECMAScript6, Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
The keys() method returns a new Array Iterator object that contains the keys for each index in the array. |
||
706 | TypedArray.prototype.lastIndexOf() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
707 | TypedArray.prototype.length | JavaScript, Property, Prototype, TypedArray, TypedArrays, prototype |
The length accessor property represents the length (in elements) of a typed array. |
||
708 | TypedArray.prototype.map() | ECMAScript6, 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. |
||
709 | TypedArray.prototype.move() | JavaScript, Method, Obsolete, Prototype, TypedArray, prototype |
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. |
||
710 | TypedArray.prototype.reduce() | JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
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. |
||
711 | TypedArray.prototype.reduceRight() | JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
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. |
||
712 | TypedArray.prototype.reverse() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
713 | 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. |
||
714 | TypedArray.prototype.slice() | ECMAScript6, 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. |
||
715 | TypedArray.prototype.some() | ECMAScript6, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
716 | TypedArray.prototype.sort() | ECMAScript6, 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. |
||
717 | TypedArray.prototype.subarray() | JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
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. |
||
718 | TypedArray.prototype.toLocaleString() | ECMAScript6, 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. |
||
719 | TypedArray.prototype.toString() | ECMAScript6, 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. |
||
720 | TypedArray.prototype.values() | ECMAScript6, Iterator, JavaScript, Method, Prototype, TypedArray, TypedArrays, prototype |
The values() method returns a new Array Iterator object that contains the values for each index in the array. |
||
721 | TypedArray.prototype[@@iterator]() | Iterator, JavaScript, Method, Prototype, Reference, TypedArray, TypedArrays, prototype |
The initial value of the @@iterator property is the same function object as the initial value of the values property. |
||
722 | get TypedArray[@@species] | JavaScript, Property, Prototype, TypedArray, TypedArrays |
The TypedArray[@@species] accessor property returns the constructor of a typed array. |
||
723 | URIError | Error, JavaScript, Object, Reference, URIError |
The URIError object represents an error when a global URI handling function was used in a wrong way. |
||
724 | URIError.prototype | Error, JavaScript, Property, Prototype, URIError |
The URIError.prototype property represents the prototype for the URIError constructor. |
||
725 | 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). |
||
726 | 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). |
||
727 | 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). |
||
728 | 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. 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). |
||
729 | WeakMap | ECMAScript6, 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. |
||
730 | WeakMap.prototype | ECMAScript6, JavaScript, Property, WeakMap |
The WeakMap .prototype property represents the prototype for the WeakMap constructor. |
||
731 | 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. |
||
732 | WeakMap.prototype.delete() | ECMAScript6, JavaScript, Method, Prototype, WeakMap |
The delete() method removes the specified element from a WeakMap object. |
||
733 | WeakMap.prototype.get() | ECMAScript6, JavaScript, Method, Prototype, WeakMap |
The get() method returns a specified element from a WeakMap object. |
||
734 | WeakMap.prototype.has() | ECMAScript6, 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. |
||
735 | WeakMap.prototype.set() | ECMAScript6, JavaScript, Method, Prototype, WeakMap |
The set() method adds a new element with a specified key and value to a WeakMap object. |
||
736 | WeakSet | ECMAScript6, JavaScript, WeakSet |
The WeakSet object lets you store weakly held objects in a collection. |
||
737 | WeakSet.prototype | ECMAScript6, JavaScript, Property, WeakSet |
The WeakSet .prototype property represents the prototype for the WeakSet constructor. |
||
738 | WeakSet.prototype.add() | ECMAScript6, JavaScript, Method, Prototype, WeakSet |
The add() method appends a new object to the end of a WeakSet object. |
||
739 | WeakSet.prototype.clear() | JavaScript, Method, Obsolete, Prototype, WeakSet, prototype |
The clear() method used to remove all elements from a WeakSet object, but is no longer part of ECMAScript and its implementations. |
||
740 | WeakSet.prototype.delete() | ECMAScript6, JavaScript, Method, Prototype, WeakSet |
The delete() method removes the specified element from a WeakSet object. |
||
741 | WeakSet.prototype.has() | ECMAScript6, JavaScript, Method, Prototype, WeakSet, prototype |
The has() method returns a boolean indicating whether an object exists in a WeakSet or not. |
||
742 | decodeURI() | JavaScript |
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI or by a similar routine. |
||
743 | decodeURIComponent() | JavaScript |
The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine. |
||
744 | 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). |
||
745 | 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). |
||
746 | escape() | Deprecated, JavaScript |
The deprecated escape() function computes a new string in which certain characters have been replaced by a hexadecimal escape sequence. Use encodeURI or encodeURIComponent instead. |
||
747 | eval() | JavaScript |
The eval() function evaluates JavaScript code represented as a string. |
||
748 | 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. |
||
749 | isNaN() | JavaScript |
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 6, or you can use typeof to determine if the value is Not-A-Number. |
||
750 | null | JavaScript, Literal, Primitive |
The value null represents the intentional absence of any object value. It is one of JavaScript's primitive values. |
||
751 | parseFloat() | JavaScript |
The parseFloat() function parses a string argument and returns a floating point number. |
||
752 | parseInt() | JavaScript |
The parseInt() function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems). |
||
753 | undefined | JavaScript |
The global undefined property represents the primitive value undefined . It is one of JavaScript's primitive types. |
||
754 | 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. |
||
755 | uneval() | JavaScript |
The uneval() function creates a string representation of the source code of an Object. |
||
756 | 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. | ||
757 | Legacy generator function | JavaScript, Legacy Iterator, Reference |
The legacy generator function statement declares legacy generator functions with the specified parameters. | ||
758 | 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. | ||
759 | 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. |
||
760 | class | Classes, Declaration, ECMAScript6, JavaScript, Ref, Statement |
The class declaration creates a new class with a given name using prototype-based inheritance. | ||
761 | const | ECMAScript6, JavaScript, Reference, Statement, constants |
This declaration creates a constant that can be either global or local to the function in which it is declared. An initializer for a constant is required; that is, you must specify its value in the same statement in which it's declared (which makes sense, given that it can't be changed later). | ||
762 | 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. | ||
763 | 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. | ||
764 | default | JavaScript, Keyword |
Technical review completed. | ||
765 | 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. |
||
766 | empty | JavaScript, Statement |
An empty statement is used to provide no statement, although the JavaScript syntax would expect one. | ||
767 | export | ECMAScript6, JavaScript, Statement |
The export statement is used to export functions, objects or primitives from a given file (or module). | ||
768 | for | JavaScript, Loop, 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. | ||
769 | for each...in | Deprecated, E4X, JavaScript, 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. |
||
770 | for...in | JavaScript, Statement |
The for...in statement iterates over the enumerable properties of an object, in arbitrary order. For each distinct property, statements can be executed. |
||
771 | for...of | ECMAScript6, JavaScript, 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. |
||
772 | function | JavaScript, Statement |
The function declaration defines a function with the specified parameters. | ||
773 | function* | ECMAScript6, Function, Iterator, JavaScript, Statement |
The function* declaration (function keyword followed by an asterisk) defines a generator function, which returns a Generator object. |
||
774 | if...else | JavaScript, Statement |
The if statement executes a statement if a specified condition is true. If the condition is false, another statement can be executed. | ||
775 | import | ECMAScript6, 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. | ||
776 | 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. |
||
777 | let | ECMAScript 2015, ECMAScript6, JavaScript, Statement, Variable declaration, Variables, let |
The let statement declares a block scope local variable, optionally initializing it to a value. |
||
778 | return | JavaScript, Statement |
The return statement ends function execution and specifies a value to be returned to the function caller. |
||
779 | 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. |
||
780 | 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. |
||
781 | try...catch | JavaScript, Statement |
The try...catch statement marks a block of statements to try, and specifies a response, should an exception be thrown. |
||
782 | var | JavaScript, Statement |
The variable statement declares a variable, optionally initializing it to a value. |
||
783 | 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. | ||
784 | with | Deprecated, JavaScript, Statement |
The with statement extends the scope chain for a statement. | ||
785 | Strict mode | ECMAScript5, 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. | ||
786 | 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. |
||
787 | Template literals | ECMAScript6, 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 / ES6 specification. | ||
788 | 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. | ||
789 | 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. | ||
790 | 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. |
||
791 | Memory Management | JavaScript, Performance, memory, performance |
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 high-level languages) developers the impression they can decide not to care about memory management. This is a mistake. |
||
792 | New in JavaScript | JavaScript, Versions |
This chapter contains information about JavaScript's version history and implementation status for Mozilla/SpiderMonkey-based JavaScript applications, such as Firefox. | ||
793 | ECMAScript 5 support in Mozilla | ECMAScript5, JavaScript, Versions |
ECMAScript 5.1, an older version of the standard upon which JavaScript is based, was approved in June 2011. | ||
794 | ECMAScript 6 support in Mozilla | ECMAScript2015, ECMAScript6, Firefox, JavaScript |
ECMAScript 2015 (6th Edition) is the current version of the ECMAScript Language Specification standard. Commonly referred to as "ES6", it defines the standard for the JavaScript implementation in SpiderMonkey, the engine used in Firefox and other Mozilla applications. | ||
795 | 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 6 (ES2015). 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. | ||
796 | Firefox JavaScript changelog | JavaScript, Versions |
The following is a changelog for JavaScript features in Firefox releases. | ||
797 | 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. | ||
798 | 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. | ||
799 | 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. | ||
800 | 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. | ||
801 | 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). | ||
802 | 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. |
||
803 | 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). | ||
804 | 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. | ||
805 | 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. | ||
806 | New in JavaScript 1.8.5 | ECMAScript5, 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. | ||
807 | 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. | ||
808 | The performance hazards of [[Prototype]] mutation | JavaScript, Performance, performance |