GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

12 results across 6 corpora for Array.prototype.findIndex().

Papers 6

Developer library 6

Guidelines for writing JavaScript code examples

nstead of: ```js example-bad const obj = { foo: function () { // … }, bar: function () { // … }, }; ``` ### Object properties - The [`Object.prototype.hasOwnProperty()`](/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty) method has been deprecated in favor of [`Object.hasOwn()`](/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn). - When possible, use the shorthand avoidi

Firefox 25 release notes for developers

implemented on [`Array`](/docs/Web/JavaScript/Reference/Global_Objects/Array) ([Firefox bug 866849](https://bugzil.la/866849)). - Support for the methods Array.prototype.find() and Array.prototype.findIndex() has been added ([Firefox bug 885553](https://bugzil.la/885553)). - The methods Number.parseInt() and Number.parseFloat() have been implemented ([Firefox bug 886949](https://bugzil.la/886949)). - The methods Map.

Firefox 37 release notes for developers

tors now ignore null iterable ([Firefox bug 1092538](https://bugzil.la/1092538)). - The Map, Set, WeakMap and WeakSet constructors now supports monkey-patched `prototype.set` or `prototype.add` ([Firefox bug 804279](https://bugzil.la/804279)). - The Non-standard `String.prototype.quote()` method has been removed ([Firefox bug 1103181](https://bugzil.la/1103181)). - The RegExp.prototype.flags property has been impleme

Array

ed elements. This means that they can be called on array-like objects as well. ```js const arrayLike = { 0: "a", 1: "b", length: 2, }; console.log(Array.prototype.join.call(arrayLike, "+")); // 'a+b' ``` #### Normalization of the length property The `length` property is [converted to an integer](/docs/Web/JavaScript/Reference/Global_Objects/Number#integer_conversion) and then clamped to the range between 0 a

Array.prototype.findLast()

ess than `length`. ```js const arrayLike = { length: 3, 0: 2, 1: 7.3, 2: 4, 3: 3, // ignored by findLast() since length is 3 }; console.log( Array.prototype.findLast.call(arrayLike, (x) => Number.isInteger(x)), ); // 4 ``` ## Specifications ## Browser compatibility ## See also - [Polyfill of `Array.prototype.findLast` in `core-js`](https://core-js.io/docs/features/ecmascript/array) - [es-shims po

Array.prototype.forEach()

The **`forEach()`** method of Array instances executes a provided function once for each array element. JavaScript Demo: Array.prototype.forEach() ```js interactive-example const array = ["a", "b", "c"]; array.forEach((element) => console.log(element)); // Expected output: "a" // Expected output: "b" // Expected output: "c" ``` ## Syntax ```js-nolint forEach(callbackFn) forEach(callbackFn, thisArg) ``` ### Par

JSON results · Services directory