Results 161 - 180 of 217

Array.prototype.map()

The map() method creates a new array with the results of calling a provided function on every element in this array.
Array ECMAScript5 JavaScript Method polyfill Prototype

Array.prototype.reduceRight()

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.
Array ECMAScript5 JavaScript Method polyfill Prototype

Array.prototype.some()

The some() method tests whether some element in the array passes the test implemented by the provided function.
Array ECMAScript5 JavaScript Method Prototype Reference

Array.prototype.values()

The values() method returns a new Array Iterator object that contains the values for each index in the array.
Array ECMAScript6 Iterator JavaScript Method Prototype

Generator.prototype.next()

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.
ECMAScript6 Generator JavaScript Method Prototype Reference

Generator.prototype.return()

The return() method returns the given value and finishes the generator.
ECMAScript6 Generator JavaScript Method Prototype Reference

Generator.prototype.throw()

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.
ECMAScript6 Generator JavaScript Method Prototype Reference

GeneratorFunction

The GeneratorFunction constructor creates a new generator function object. In JavaScript every generator function is actually a GeneratorFunction object.
Constructor ECMAScript6 GeneratorFunction Iterator JavaScript Reference

GeneratorFunction.prototype

The GeneratorFunction.prototype property represents the GeneratorFunction prototype object.
ECMAScript6 GeneratorFunction Iterator JavaScript Property Prototype Reference

Map.prototype[@@iterator]()

The initial value of the @@iterator property is the same function object as the initial value of the entries property.
ECMAScript6 Iterator JavaScript Map Method Prototype Reference

Map.prototype[@@toStringTag]

The Map[@@toStringTag] property has an initial value of "Map".
ECMAScript6 JavaScript Map Property Prototype Reference

Map.prototype.entries()

The entries() method returns a new Iterator object that contains the [key, value] pairs for each element in the Map object in insertion order.
ECMAScript6 Iterator JavaScript Map Method Prototype

Map.prototype.keys()

The keys() method returns a new Iterator object that contains the keys for each element in the Map object in insertion order.
ECMAScript6 Iterator JavaScript Map Method Prototype

Map.prototype.values()

The values() method returns a new Iterator object that contains the values for each element in the Map object in insertion order.
ECMAScript6 Iterator JavaScript Map Method Prototype

Object.assign()

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.
ECMAScript6 JavaScript Method Object polyfill Reference

Object.create()

The Object.create() method creates a new object with the specified prototype object and properties.
ECMAScript5 JavaScript Method Object polyfill Reference

Object.getOwnPropertyNames()

The Object.getOwnPropertyNames() method returns an array of all properties (enumerable or not) found directly upon a given object.
ECMAScript5 JavaScript JavaScript 1.8.5 Method Object Reference

Set.prototype[@@iterator]()

The initial value of the @@iterator property is the same function object as the initial value of the values property.
ECMAScript6 Iterator JavaScript Method Prototype Reference set

Set.prototype.entries()

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.
ECMAScript6 Iterator JavaScript Method Prototype set

Set.prototype.values()

The values() method returns a new Iterator object that contains the values for each element in the Set object in insertion order.
ECMAScript6 Iterator JavaScript Method Prototype set