• Home
  • Raw
  • Download

Lines Matching full:array

34    * Callback function used in the typed Array's 'from' function.
37 * @param { FromElementType } value - The value in the original array.
38 * @param { number } index - The index in the original array.
47 * Callback function used in typed Array functions which needs to determine
53 * @param { ArrayType } array - The array that the element belongs to.
61 (value: ElementType, index: number, array: ArrayType) => boolean;
63 * Callback function used in typed Array functions that perform specific action for each element.
68 * @param { ArrayType } array - The array that the element belongs to.
75 (value: ElementType, index: number, array: ArrayType) => void;
77 …* Callback function used in typed Array functions that perform specific action for each element and
83 * @param { ArrayType } array - The array that the element belongs to.
89 (value: ElementType, index: number, array: ArrayType) => ElementType;
91 * Callback function used in typed Array functions that require a reduction.
95 * @param { ElementType } currentValue - The current element being processed in the array.
96 * @param { number } currentIndex - The index of the current element being processed in the array.
97 * @param { ArrayType } array - The array that the element belongs to.
105 …(previousValue: AccType, currentValue: ElementType, currentIndex: number, array: ArrayType) => Acc…
107 * Callback function used in the typed Array's 'sort' function.
130 * Represents an array-like object that can be concatenated.
139 …e length of the ArkTS ConcatArray. This is a number one higher than the highest index in the array.
150 * @param { string } [separator] - A string used to separate one element of the array from
151 … * the next in the resulting string. If omitted, the array elements are separated with a comma.
152 * @returns { string } A string with all array elements joined.
162 * @param { number } [start] - The beginning index of the specified portion of the array.
164 * @param { number } [end] - The end index of the specified portion of the array.
166 * If end is undefined, then the slice extends to the end of the array.
175 * Array is a data structure that stores a collection of elements.
176 * If multiple threads access a Array instance concurrently,
177 * and at least one of the threads modifies the array structurally,
187 class Array<T> implements ConcatArray<T> {
189 …* Gets the length of the ArkTS array. This is a number one higher than the highest index in the Ar…
200 * Creates an ArkTS Array with arrayLength elements initialized to initialValue.
202 * @param { number } arrayLength - The length of the array.
203 * @param { T } initialValue - Element initial value that will be filled into the Array.
204 * @returns { Array<T> } A new Array instance
212 static create<T>(arrayLength: number, initialValue: T): Array<T>;
214 * Creates an ArkTS Array from an array-like object.
216 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an ArkTS Array.
217 * @returns { Array<T> } A new Array instance
226 static from<T>(arrayLike: ArrayLike<T>): Array<T>;
228 * A constructor used to create an ArkTS Array.
230 * @throws { BusinessError } 10200012 - The Array's constructor cannot be directly invoked.
238 * A constructor used to create an ArkTS Array.
240 * @param { T } first - First element when initializing an ArkTS Array.
241 * @param { T[] } left - Left elements when initializing an ArkTS Array.
243 * @throws { BusinessError } 10200012 - The Array's constructor cannot be directly invoked.
251 * Removes the last element from an ArkTS array and returns it.
252 * If the array is empty, undefined is returned and the array is not modified.
254 …* @returns { T | undefined } - The removed element from the array; undefined if the array is empty.
264 * Appends new elements to the end of an ArkTS Array, and returns the new length of the array.
266 * @param { T[] } items - New elements to add to the ArkTS array.
278 …* Adds all the elements of an ArkTS Array into a string, separated by the specified separator stri…
280 * @param { string } [separator] - A string used to separate one element of the array from
281 … * the next in the resulting string. If omitted, the array elements are separated with a comma.
282 …* @returns { string } A string with all array elements joined. If Array.length is 0, the empty str…
293 * Removes the first element from an ArkTS Array and returns it.
294 * If the array is empty, undefined is returned and the array is not modified.
296 … * @returns { T | undefined } The removed element from the array; undefined if the array is empty
306 * Inserts new elements at the start of an array, and returns the new length of the array.
308 * @param { T[] } items - Elements to insert at the start of the array.
320 * Returns a copy of a section of an ArkTS Array.
321 …r both start and end, a negative index can be used to indicate an offset from the end of the array.
322 * For example, -2 refers to the second to last element of the array.
324 * @param { number } [start] - The beginning index of the specified portion of the array.
326 * @param { number } [end] - The end index of the specified portion of the array.
328 * If end is undefined, then the slice extends to the end of the array.
329 * @returns { Array<T> } A new array containing the extracted elements.
338 slice(start?: number, end?: number): Array<T>;
340 …* Sorts an array in place. This method mutates the array and returns a reference to the same array.
345 * @returns { Array<T> } The reference to the original array, now sorted.
354 sort(compareFn?: (a: T, b: T) => number): Array<T>;
356 …* Returns the index of the first occurrence of a value in an ArkTS Array, or -1 if it is not prese…
358 * @param { T } searchElement - The value to locate in the array.
359 * @param { number } [fromIndex] - The array index at which to begin the search.
361 * @returns { number } The first index of searchElement in the array; -1 if not found.
372 * Executes a provided function once for each value in the Array object.
384 forEach(callbackFn: (value: T, index: number, array: Array<T>) => void): void;
386 * Calls a defined callback function on each element of an ArkTS Array,
387 * and returns an array that contains the results.
390 * The map method calls the callbackFn function one time for each element in the array.
391 … * @returns { Array<U> } A new array with each element being the result of the callback function.
400 map<U>(callbackFn: (value: T, index: number, array: Array<T>) => U): Array<U>;
402 … * Returns the elements of an ArkTS Array that meet the condition specified in a callback function.
405 * The filter method calls the predicate function one time for each element in the array.
406 …* @returns { Array<T> } A shallow copy of the given containing just the elements that pass the tes…
407 * If no elements pass the test, an empty array is returned.
416 filter(predicate: (value: T, index: number, array: Array<T>) => boolean): Array<T>;
418 * Calls the specified callback function for all the elements in an ArkTS Array.
423 * The reduce method calls the callbackFn function one time for each element in the array.
425 * completion over the entire array.
434 …reduce(callbackFn: (previousValue: T, currentValue: T, currentIndex: number, array: Array<T>) => T…
436 * Calls the specified callback function for all the elements in an array.
441 * The reduce method calls the callbackFn function one time for each element in the array.
444 …first call to the callbackFn function provides this value as an argument instead of an array value.
446 * completion over the entire array.
456 callbackFn: (previousValue: U, currentValue: T, currentIndex: number, array: Array<T>) => U,
464 * @returns { T | undefined } The element in the array matching the given index.
465 * Always returns undefined if index < -array.length or index >= array.length without
478 * Returns an iterable of key, value pairs for every entry in the array
490 * Returns an iterable of keys in the array
502 * Returns an iterable of values in the array
514 * Returns the value of the first element in the array where predicate is true, and undefined
517 …* @param { function } predicate - Find calls predicate once for each element of the array, in asce…
520 …* @returns { T | undefined } The first element in the array that satisfies the provided testing fu…
530 find(predicate: (value: T, index: number, obj: Array<T>) => boolean): T | undefined;
532 … * Determines whether an array includes a certain element, returning true or false as appropriate.
535 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
537 * the array (or the part of the array indicated by the index fromIndex, if specified).
548 * Returns the index of the first element in the array where predicate is true, and -1
551 …* @param { function } predicate - Find calls predicate once for each element of the array, in asce…
554 …* @returns { number } The index of the first element in the array that passes the test. Otherwise,…
563 findIndex(predicate: (value: T, index: number, obj: Array<T>) => boolean): number;
567 * @param { T } value - Value to fill array section with
568 …* @param { number } [start] - Index to start filling the array at. If start is negative, it is tre…
569 * length+start where length is the length of the array.
570 …* @param { number } [end] - Index to stop filling the array at. If end is negative, it is treated …
572 * @returns { Array<T> } The modified array, filled with value.
581 fill(value: T, start?: number, end?: number): Array<T>;
583 * Shrinks the ArkTS array to the given arrayLength.
585 * @param { number } arrayLength - The new Array length.
587 * If arrayLength > array.length, array remains unchanged.
598 * Extends the ArkTS array to the given arrayLength,
601 * @param { number } arrayLength - The new Array length.
603 * If arrayLength < array.length, array remains unchanged.
604 * @param { T } initialValue - Element initial value that will be appended to the array.
618 * Throws error if index < 0 or index >= array.length.
619 * @returns { T } The element in the array matching the given index.
632 * @returns { Array<T> } A new array containing the elements of the concatenated arrays.
633 * @throws { BusinessError } 401 - Parameter error. Not a valid array.
639 concat(...items: ConcatArray<T>[]): Array<T>;
669 * @param { readonly (readonly [K, V])[] | null } [entries] - An Array or other iterable object
949 * but can be passed to a typed array or DataView Object to interpret the raw
976 * @param { number } byteLength - The length of the ArkTS array buffer
1004 * A typed array of 8-bit integer values. The contents are initialized to 0.
1006 * and at least one of the threads modifies the array structurally,
1017 * The size in bytes of each element in the array.
1029 * The ArrayBuffer instance referenced by the array.
1040 * The length in bytes of the array.
1051 * The offset in bytes of the array.
1062 * The length of the array.
1085 * @param { number } length - The length of the array
1097 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
1105 constructor(array: ArrayLike<number> | ArrayBuffer);
1109 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
1111 * that will be exposed by the typed array view.
1113 * that will be exposed by the typed array view.
1123 * Creates an Int8Array from an array-like object.
1125 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Int8Array.
1137 * Creates an Int8Array from an array-like object.
1139 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Int8Array.
1140 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
1155 * call on every element of the array.
1166 * Returns the this object after copying a section of the array identified by start and end
1167 * to the same array starting at position target.
1170 * length of the array.
1174 * @returns { Int8Array } The array itself.
1185 * Determines whether all the members of an array satisfy the specified test.
1188 * The every method calls the predicate function for each element in the array until
1189 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
1190 * @returns { boolean } true unless predicate returns a false value for a typed array element,
1204 * @param { number } value - value to fill array section with.
1205 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
1206 * length+start where length is the length of the array.
1207 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
1209 * @returns { Int8Array } The array itself.
1220 * Returns the elements of an array that meet the condition specified in a callback function.
1223 * The filter method calls the predicate function one time for each element in the array.
1224 * @returns { Int8Array } The array itself.
1235 * Returns the value of the first element in the array where predicate is true, and undefined
1239 * the array, in ascending order, until it finds one where predicate returns true.
1241 * @returns { number | undefined } The first element in the typed array
1253 * Returns the index of the first element in the array where predicate is true, and -1
1257 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
1259 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
1270 * Performs the specified action for each element in an array.
1274 * forEach calls the callbackfn function one time for each element in the array.
1285 * Returns the index of the first occurrence of a value in an array.
1287 * @param { number } searchElement - The value to locate in the array.
1288 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
1290 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
1301 * Adds all the elements of an array separated by the specified separator string.
1302 …* @param { string } [separator] - A string used to separate one element of an array from the next …
1303 * resulting String. If omitted, the array elements are separated with a comma.
1304 * @returns { string } A string with all typed array elements joined.
1305 * If array.length is 0, the empty string is returned.
1316 * Calls a defined callback function on each element of an array, and returns an array that
1321 * The map method calls the callbackfn function one time for each element in the array.
1322 * @returns { Int8Array } The array itself.
1333 * Calls the specified callback function for all the elements in an array. The return value of
1339 * The reduce method calls the callbackfn function one time for each element in the array.
1341 * completion over the entire typed array.
1352 * Calls the specified callback function for all the elements in an array. The return value of
1358 * The reduce method calls the callbackfn function one time for each element in the array.
1361 * instead of an array value.
1363 * completion over the entire typed array.
1374 * Calls the specified callback function for all the elements in an array. The return value of
1380 * The reduce method calls the callbackfn function one time for each element in the array.
1383 * instead of an array value.
1385 * completion over the entire typed array.
1396 * Reverses the elements in an Array.
1398 * @returns { Int8Array } The reference to the original typed array, now reversed.
1399 * <br>Note that the typed array is reversed in place, and no copy is made.
1409 * Sets a value or an array of values.
1411 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
1412 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
1421 set(array: ArrayLike<number>, offset?: number): void;
1423 * Returns a section of an array.
1425 * @param { number } [start] - The beginning of the specified portion of the array.
1426 * @param { number } [end] - The end of the specified portion of the array.
1428 * @returns { Int8Array } A new typed array containing the extracted elements.
1439 * Determines whether the specified callback function returns true for any element of an array.
1442 * The some method calls the predicate function for each element in the array until
1443 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
1444 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
1456 * Sorts an array.
1462 * @returns { Int8Array } The reference to the original typed array, now sorted.
1463 * Note that the typed array is sorted in place and no copy is made.
1474 * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements
1477 * @param { number } [begin] - The index of the beginning of the array.
1478 * @param { number } [end] - The index of the end of the array.
1494 * @returns { number | undefined } The element in the array matching the given index.<br/>
1495 * Always returns undefined if index < -array.length or
1496 * index >= array.length without attempting to access the corresponding property.
1507 * Returns an iterable of key, value pairs for every entry in the array
1519 * Returns an iterable of keys in the array
1531 * Returns an iterable of values in the array
1543 … * Determines whether an array includes a certain element, returning true or false as appropriate.
1546 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
1548 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
1570 …* The Uint8ClampedArray typed array represents an array of 8-bit unsigned integers clamped to 0–25…
1573 * and at least one of the threads modifies the array structurally,
1582 * The size in bytes of each element in the array.
1592 * The ArrayBuffer instance referenced by the array.
1601 * The length in bytes of the array.
1610 * The offset in bytes of the array.
1619 * The length of the array.
1638 * @param { number } length - The length of the array
1648 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
1654 constructor(array: ArrayLike<number> | ArrayBuffer);
1658 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
1660 * that will be exposed by the typed array view.
1662 * that will be exposed by the typed array view.
1670 * Creates an Uint8ClampedArray from an array-like object.
1672 …* @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Uint8ClampedArray.
1682 * Creates an Uint8ClampedArray from an array-like object.
1684 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Uint8ClampedArray.
1685 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
1698 * call on every element of the array.
1707 * Returns the this object after copying a section of the array identified by start and end
1708 * to the same array starting at position target.
1711 * length of the array.
1715 * @returns { Uint8ClampedArray } The array itself.
1724 * Determines whether all the members of an array satisfy the specified test.
1728 * The every method calls the predicate function for each element in the array until
1729 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
1730 * @returns { boolean } true unless predicate returns a false value for a typed array element,
1742 * @param { number } value - value to fill array section with.
1743 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
1744 * length+start where length is the length of the array.
1745 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
1747 * @returns { Uint8ClampedArray } The array itself.
1756 * Returns the elements of an array that meet the condition specified in a callback function.
1760 * The filter method calls the predicate function one time for each element in the array.
1761 * @returns { Uint8ClampedArray } The array itself.
1770 * Returns the value of the first element in the array where predicate is true, and undefined
1774 …* each element of the array, in ascending order, until it finds one where predicate returns tr…
1776 * @returns { number | undefined } The first element in the typed array
1786 * Returns the index of the first element in the array where predicate is true, and -1
1790 …* each element of the array, in ascending order, until it finds one where predicate returns tr…
1793 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
1802 * Performs the specified action for each element in an array.
1806 * forEach calls the callbackfn function one time for each element in the array.
1815 * Returns the index of the first occurrence of a value in an array.
1817 * @param { number } searchElement - The value to locate in the array.
1818 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
1820 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
1829 * Adds all the elements of an array separated by the specified separator string.
1830 …* @param { string } [separator] - A string used to separate one element of an array from the next …
1831 * resulting String. If omitted, the array elements are separated with a comma.
1832 * @returns { string } A string with all typed array elements joined.
1833 * If array.length is 0, the empty string is returned.
1842 * Calls a defined callback function on each element of an array, and returns an array that
1847 * The map method calls the callbackfn function one time for each element in the array.
1848 * @returns { Uint8ClampedArray } The array itself.
1857 * Calls the specified callback function for all the elements in an array. The return value of
1863 * The reduce method calls the callbackfn function one time for each element in the array.
1865 * completion over the entire typed array.
1874 * Calls the specified callback function for all the elements in an array. The return value of
1880 * The reduce method calls the callbackfn function one time for each element in the array.
1883 * instead of an array value.
1885 * completion over the entire typed array.
1894 * Reverses the elements in an Array.
1896 * @returns { Uint8ClampedArray } The reference to the original typed array, now reversed.
1897 * <br>Note that the typed array is reversed in place, and no copy is made.
1905 * Sets a value or an array of values.
1907 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
1908 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
1915 set(array: ArrayLike<number>, offset?: number): void;
1917 * Returns a section of an array.
1919 * @param { number } [start] - The beginning of the specified portion of the array.
1920 * @param { number } [end] - The end of the specified portion of the array.
1922 * @returns { Uint8ClampedArray } A new typed array containing the extracted elements.
1931 * Determines whether the specified callback function returns true for any element of an array.
1935 * The some method calls the predicate function for each element in the array until
1936 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
1937 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
1947 * Sorts an array.
1953 * @returns { Uint8ClampedArray } The reference to the original typed array, now sorted.
1954 * Note that the typed array is sorted in place and no copy is made.
1963 …* Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the eleme…
1966 * @param { number } [begin] - The index of the beginning of the array.
1967 * @param { number } [end] - The index of the end of the array.
1981 * @returns { number | undefined } The element in the array matching the given index.<br/>
1982 * Always returns undefined if index < -array.length or
1983 * index >= array.length without attempting to access the corresponding property.
1992 * Returns an iterable of key, value pairs for every entry in the array
2002 * Returns an iterable of keys in the array
2012 * Returns an iterable of values in the array
2022 … * Determines whether an array includes a certain element, returning true or false as appropriate.
2025 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
2027 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
2045 * A typed array of 8-bit unsigned integer values. The contents are initialized to 0.
2047 * and at least one of the threads modifies the array structurally,
2058 * The size in bytes of each element in the array.
2070 * The ArrayBuffer instance referenced by the array.
2081 * The length in bytes of the array.
2092 * The offset in bytes of the array.
2103 * The length of the array.
2126 * @param { number } length - The length of the array
2138 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
2146 constructor(array: ArrayLike<number> | ArrayBuffer);
2150 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
2152 * that will be exposed by the typed array view.
2154 * that will be exposed by the typed array view.
2164 * Creates an Uint8Array from an array-like object.
2166 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Uint8Array.
2177 * Creates an Uint8Array from an array-like object.
2179 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Uint8Array.
2180 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
2195 * call on every element of the array.
2206 * Returns the this object after copying a section of the array identified by start and end
2207 * to the same array starting at position target.
2210 * length of the array.
2214 * @returns { Uint8Array } The array itself.
2225 * Determines whether all the members of an array satisfy the specified test.
2228 * The every method calls the predicate function for each element in the array until
2229 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
2230 * @returns { boolean } true unless predicate returns a false value for a typed array element,
2244 * @param { number } value - value to fill array section with.
2245 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
2246 * length+start where length is the length of the array.
2247 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
2249 * @returns { Uint8Array } The array itself.
2260 * Returns the elements of an array that meet the condition specified in a callback function.
2263 * The filter method calls the predicate function one time for each element in the array.
2264 * @returns { Uint8Array } The array itself.
2275 * Returns the value of the first element in the array where predicate is true, and undefined
2279 * the array, in ascending order, until it finds one where predicate returns true.
2281 * @returns { number | undefined } The first element in the typed array
2293 * Returns the index of the first element in the array where predicate is true, and -1
2297 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
2299 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
2310 * Performs the specified action for each element in an array.
2314 * forEach calls the callbackfn function one time for each element in the array.
2325 * Returns the index of the first occurrence of a value in an array.
2327 * @param { number } searchElement - The value to locate in the array.
2328 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
2330 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
2341 * Adds all the elements of an array separated by the specified separator string.
2342 …* @param { string } [separator] - A string used to separate one element of an array from the next …
2343 * resulting String. If omitted, the array elements are separated with a comma.
2344 * @returns { string } A string with all typed array elements joined.
2345 * If array.length is 0, the empty string is returned.
2356 * Calls a defined callback function on each element of an array, and returns an array that
2361 * The map method calls the callbackfn function one time for each element in the array.
2362 * @returns { Uint8Array } The array itself.
2373 * Calls the specified callback function for all the elements in an array. The return value of
2379 * The reduce method calls the callbackfn function one time for each element in the array.
2381 * completion over the entire typed array.
2392 * Calls the specified callback function for all the elements in an array. The return value of
2398 * The reduce method calls the callbackfn function one time for each element in the array.
2401 * instead of an array value.
2403 * completion over the entire typed array.
2414 * Calls the specified callback function for all the elements in an array. The return value of
2420 * The reduce method calls the callbackfn function one time for each element in the array.
2423 * instead of an array value.
2425 * completion over the entire typed array.
2436 * Reverses the elements in an Array.
2438 * @returns { Uint8Array } The reference to the original typed array, now reversed.
2439 * <br>Note that the typed array is reversed in place, and no copy is made.
2449 * Sets a value or an array of values.
2451 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
2452 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
2461 set(array: ArrayLike<number>, offset?: number): void;
2463 * Returns a section of an array.
2465 * @param { number } [start] - The beginning of the specified portion of the array.
2466 * @param { number } [end] - The end of the specified portion of the array.
2468 * @returns { Uint8Array } A new typed array containing the extracted elements.
2479 * Determines whether the specified callback function returns true for any element of an array.
2482 * The some method calls the predicate function for each element in the array until
2483 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
2484 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
2496 * Sorts an array.
2502 * @returns { Uint8Array } The reference to the original typed array, now sorted.
2503 * Note that the typed array is sorted in place and no copy is made.
2514 * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements
2517 * @param { number } [begin] - The index of the beginning of the array.
2518 * @param { number } [end] - The index of the end of the array.
2534 * @returns { number | undefined } The element in the array matching the given index.<br/>
2535 * Always returns undefined if index < -array.length or
2536 * index >= array.length without attempting to access the corresponding property.
2547 * Returns an iterable of key, value pairs for every entry in the array
2559 * Returns an iterable of keys in the array
2571 * Returns an iterable of values in the array
2583 … * Determines whether an array includes a certain element, returning true or false as appropriate.
2586 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
2588 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
2610 * A typed array of 16-bit integer values. The contents are initialized to 0.
2612 * and at least one of the threads modifies the array structurally,
2623 * The size in bytes of each element in the array.
2635 * The ArrayBuffer instance referenced by the array.
2646 * The length in bytes of the array.
2657 * The offset in bytes of the array.
2668 * The length of the array.
2691 * @param { number } length - The length of the array
2703 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
2711 constructor(array: ArrayLike<number> | ArrayBuffer);
2715 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
2717 * that will be exposed by the typed array view.
2719 * that will be exposed by the typed array view.
2729 * Creates an Int16Array from an array-like object.
2731 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Int16Array.
2742 * Creates an Int16Array from an array-like object.
2744 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Int16Array.
2745 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
2760 * call on every element of the array.
2771 * Returns the this object after copying a section of the array identified by start and end
2772 * to the same array starting at position target.
2775 * length of the array.
2779 * @returns { Int16Array } The array itself.
2790 * Determines whether all the members of an array satisfy the specified test.
2793 * The every method calls the predicate function for each element in the array until
2794 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
2795 * @returns { boolean } true unless predicate returns a false value for a typed array element,
2809 * @param { number } value - value to fill array section with.
2810 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
2811 * length+start where length is the length of the array.
2812 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
2814 * @returns { Int16Array } The array itself.
2825 * Returns the elements of an array that meet the condition specified in a callback function.
2828 * The filter method calls the predicate function one time for each element in the array.
2829 * @returns { Int16Array } The array itself.
2840 * Returns the value of the first element in the array where predicate is true, and undefined
2844 * the array, in ascending order, until it finds one where predicate returns true.
2846 * @returns { number | undefined } The first element in the typed array
2858 * Returns the index of the first element in the array where predicate is true, and -1
2862 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
2864 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
2875 * Performs the specified action for each element in an array.
2879 * forEach calls the callbackfn function one time for each element in the array.
2890 * Returns the index of the first occurrence of a value in an array.
2892 * @param { number } searchElement - The value to locate in the array.
2893 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
2895 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
2906 * Adds all the elements of an array separated by the specified separator string.
2907 …* @param { string } [separator] - A string used to separate one element of an array from the next …
2908 * resulting String. If omitted, the array elements are separated with a comma.
2909 * @returns { string } A string with all typed array elements joined.
2910 * If array.length is 0, the empty string is returned.
2921 * Calls a defined callback function on each element of an array, and returns an array that
2926 * The map method calls the callbackfn function one time for each element in the array.
2927 * @returns { Int16Array } The array itself.
2938 * Calls the specified callback function for all the elements in an array. The return value of
2944 * The reduce method calls the callbackfn function one time for each element in the array.
2946 * completion over the entire typed array.
2957 * Calls the specified callback function for all the elements in an array. The return value of
2963 * The reduce method calls the callbackfn function one time for each element in the array.
2966 * instead of an array value.
2968 * completion over the entire typed array.
2979 * Calls the specified callback function for all the elements in an array. The return value of
2985 * The reduce method calls the callbackfn function one time for each element in the array.
2988 * instead of an array value.
2990 * completion over the entire typed array.
3001 * Reverses the elements in an Array.
3003 * @returns { Int16Array } The reference to the original typed array, now reversed.
3004 * <br>Note that the typed array is reversed in place, and no copy is made.
3014 * Sets a value or an array of values.
3016 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
3017 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
3026 set(array: ArrayLike<number>, offset?: number): void;
3028 * Returns a section of an array.
3030 * @param { number } [start] - The beginning of the specified portion of the array.
3031 * @param { number } [end] - The end of the specified portion of the array.
3033 * @returns { Int16Array } A new typed array containing the extracted elements.
3044 * Determines whether the specified callback function returns true for any element of an array.
3047 * The some method calls the predicate function for each element in the array until
3048 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
3049 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
3061 * Sorts an array.
3067 * @returns { Int16Array } The reference to the original typed array, now sorted.
3068 * Note that the typed array is sorted in place and no copy is made.
3079 * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements
3082 * @param { number } [begin] - The index of the beginning of the array.
3083 * @param { number } [end] - The index of the end of the array.
3099 * @returns { number | undefined } The element in the array matching the given index.<br/>
3100 * Always returns undefined if index < -array.length or
3101 * index >= array.length without attempting to access the corresponding property.
3112 * Returns an iterable of key, value pairs for every entry in the array
3124 * Returns an iterable of keys in the array
3136 * Returns an iterable of values in the array
3148 … * Determines whether an array includes a certain element, returning true or false as appropriate.
3151 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
3153 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
3175 * A typed array of 16-bit unsigned integer values. The contents are initialized to 0.
3177 * and at least one of the threads modifies the array structurally,
3188 * The size in bytes of each element in the array.
3200 * The ArrayBuffer instance referenced by the array.
3211 * The length in bytes of the array.
3222 * The offset in bytes of the array.
3233 * The length of the array.
3256 * @param { number } length - The length of the array
3268 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
3276 constructor(array: ArrayLike<number> | ArrayBuffer);
3280 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
3282 * that will be exposed by the typed array view.
3284 * that will be exposed by the typed array view.
3294 * Creates an Uint16Array from an array-like object.
3296 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Uint16Array.
3307 * Creates an Uint16Array from an array-like object.
3309 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Uint16Array.
3310 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
3325 * call on every element of the array.
3336 * Returns the this object after copying a section of the array identified by start and end
3337 * to the same array starting at position target.
3340 * length of the array.
3344 * @returns { Uint16Array } The array itself.
3355 * Determines whether all the members of an array satisfy the specified test.
3358 * The every method calls the predicate function for each element in the array until
3359 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
3360 * @returns { boolean } true unless predicate returns a false value for a typed array element,
3374 * @param { number } value - value to fill array section with.
3375 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
3376 * length+start where length is the length of the array.
3377 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
3379 * @returns { Uint16Array } The array itself.
3390 * Returns the elements of an array that meet the condition specified in a callback function.
3393 * The filter method calls the predicate function one time for each element in the array.
3394 * @returns { Uint16Array } The array itself.
3405 * Returns the value of the first element in the array where predicate is true, and undefined
3409 * the array, in ascending order, until it finds one where predicate returns true.
3411 * @returns { number | undefined } The first element in the typed array
3423 * Returns the index of the first element in the array where predicate is true, and -1
3427 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
3429 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
3440 * Performs the specified action for each element in an array.
3444 * forEach calls the callbackfn function one time for each element in the array.
3455 * Returns the index of the first occurrence of a value in an array.
3457 * @param { number } searchElement - The value to locate in the array.
3458 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
3460 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
3471 * Adds all the elements of an array separated by the specified separator string.
3472 …* @param { string } [separator] - A string used to separate one element of an array from the next …
3473 * resulting String. If omitted, the array elements are separated with a comma.
3474 * @returns { string } A string with all typed array elements joined.
3475 * If array.length is 0, the empty string is returned.
3486 * Calls a defined callback function on each element of an array, and returns an array that
3490 …ree arguments. The map method calls the callbackfn function one time for each element in the array.
3491 * @returns { Uint16Array } The array itself.
3502 * Calls the specified callback function for all the elements in an array. The return value of
3508 * The reduce method calls the callbackfn function one time for each element in the array.
3510 * completion over the entire typed array.
3521 * Calls the specified callback function for all the elements in an array. The return value of
3527 * The reduce method calls the callbackfn function one time for each element in the array.
3530 * instead of an array value.
3532 * completion over the entire typed array.
3543 * Calls the specified callback function for all the elements in an array. The return value of
3549 * The reduce method calls the callbackfn function one time for each element in the array.
3552 * instead of an array value.
3554 * completion over the entire typed array.
3565 * Reverses the elements in an Array.
3567 * @returns { Uint16Array } The reference to the original typed array, now reversed.
3568 * <br/>Note that the typed array is reversed in place, and no copy is made.
3578 * Sets a value or an array of values.
3580 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
3581 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
3590 set(array: ArrayLike<number>, offset?: number): void;
3592 * Returns a section of an array.
3594 * @param { number } [start] - The beginning of the specified portion of the array.
3595 * @param { number } [end] - The end of the specified portion of the array.
3597 * @returns { Uint16Array } A new typed array containing the extracted elements.
3608 * Determines whether the specified callback function returns true for any element of an array.
3611 * The some method calls the predicate function for each element in the array until
3612 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
3613 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
3625 * Sorts an array.
3631 * @returns { Uint16Array } The reference to the original typed array, now sorted.
3632 * Note that the typed array is sorted in place and no copy is made.
3643 * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements
3646 * @param { number } [begin] - The index of the beginning of the array.
3647 * @param { number } [end] - The index of the end of the array.
3663 * @returns { number | undefined } The element in the array matching the given index.<br/>
3664 * Always returns undefined if index < -array.length or
3665 * index >= array.length without attempting to access the corresponding property.
3676 * Returns an iterable of key, value pairs for every entry in the array
3688 * Returns an iterable of keys in the array
3700 * Returns an iterable of values in the array
3712 … * Determines whether an array includes a certain element, returning true or false as appropriate.
3715 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
3717 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
3739 * A typed array of 32-bit integer values. The contents are initialized to 0.
3741 * and at least one of the threads modifies the array structurally,
3752 * The size in bytes of each element in the array.
3764 * The ArrayBuffer instance referenced by the array.
3775 * The length in bytes of the array.
3786 * The offset in bytes of the array.
3797 * The length of the array.
3820 * @param { number } length - The length of the array
3832 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
3840 constructor(array: ArrayLike<number> | ArrayBuffer);
3844 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
3846 * that will be exposed by the typed array view.
3848 * that will be exposed by the typed array view.
3858 * Creates an Int32Array from an array-like object.
3860 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Int32Array.
3871 * Creates an Int32Array from an array-like object.
3873 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Int32Array.
3874 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
3889 * call on every element of the array.
3900 * Returns the this object after copying a section of the array identified by start and end
3901 * to the same array starting at position target.
3904 * length of the array.
3908 * @returns { Int32Array } The array itself.
3919 * Determines whether all the members of an array satisfy the specified test.
3922 * The every method calls the predicate function for each element in the array until
3923 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
3924 * @returns { boolean } true unless predicate returns a false value for a typed array element,
3938 * @param { number } value - value to fill array section with.
3939 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
3940 * length+start where length is the length of the array.
3941 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
3943 * @returns { Int32Array } The array itself.
3954 * Returns the elements of an array that meet the condition specified in a callback function.
3957 * The filter method calls the predicate function one time for each element in the array.
3958 * @returns { Int32Array } The array itself.
3969 * Returns the value of the first element in the array where predicate is true, and undefined
3973 * the array, in ascending order, until it finds one where predicate returns true.
3975 * @returns { number | undefined } The first element in the typed array
3987 * Returns the index of the first element in the array where predicate is true, and -1
3991 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
3993 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
4004 * Performs the specified action for each element in an array.
4008 * forEach calls the callbackfn function one time for each element in the array.
4019 * Returns the index of the first occurrence of a value in an array.
4021 * @param { number } searchElement - The value to locate in the array.
4022 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
4024 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
4035 * Adds all the elements of an array separated by the specified separator string.
4036 …* @param { string } [separator] - A string used to separate one element of an array from the next …
4037 * resulting String. If omitted, the array elements are separated with a comma.
4038 * @returns { string } A string with all typed array elements joined.
4039 * If array.length is 0, the empty string is returned.
4050 * Calls a defined callback function on each element of an array, and returns an array that
4055 * The map method calls the callbackfn function one time for each element in the array.
4056 * @returns { Int32Array } The array itself.
4067 * Calls the specified callback function for all the elements in an array. The return value of
4073 * The reduce method calls the callbackfn function one time for each element in the array.
4075 * completion over the entire typed array.
4086 * Calls the specified callback function for all the elements in an array. The return value of
4092 * The reduce method calls the callbackfn function one time for each element in the array.
4095 * instead of an array value.
4097 * completion over the entire typed array.
4108 * Calls the specified callback function for all the elements in an array. The return value of
4114 * The reduce method calls the callbackfn function one time for each element in the array.
4117 * instead of an array value.
4119 * completion over the entire typed array.
4130 * Reverses the elements in an Array.
4132 * @returns { Int32Array } The reference to the original typed array, now reversed.
4133 * <br/>Note that the typed array is reversed in place, and no copy is made.
4143 * Sets a value or an array of values.
4145 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
4146 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
4155 set(array: ArrayLike<number>, offset?: number): void;
4157 * Returns a section of an array.
4159 * @param { number } [start] - The beginning of the specified portion of the array.
4160 * @param { number } [end] - The end of the specified portion of the array.
4162 * @returns { Int32Array } A new typed array containing the extracted elements.
4173 * Determines whether the specified callback function returns true for any element of an array.
4176 * The some method calls the predicate function for each element in the array until
4177 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
4178 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
4190 * Sorts an array.
4196 * @returns { Int32Array } The reference to the original typed array, now sorted.
4197 * Note that the typed array is sorted in place and no copy is made.
4208 * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements
4211 * @param { number } [begin] - The index of the beginning of the array.
4212 * @param { number } [end] - The index of the end of the array.
4228 * @returns { number | undefined } The element in the array matching the given index.<br/>
4229 * Always returns undefined if index < -array.length or
4230 * index >= array.length without attempting to access the corresponding property.
4241 * Returns an iterable of key, value pairs for every entry in the array
4253 * Returns an iterable of keys in the array
4265 * Returns an iterable of values in the array
4277 … * Determines whether an array includes a certain element, returning true or false as appropriate.
4280 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
4282 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
4304 * A typed array of 32-bit unsigned integer values. The contents are initialized to 0.
4306 * and at least one of the threads modifies the array structurally,
4317 * The size in bytes of each element in the array.
4329 * The ArrayBuffer instance referenced by the array.
4340 * The length in bytes of the array.
4351 * The offset in bytes of the array.
4362 * The length of the array.
4385 * @param { number } length - The length of the array
4397 …* @param { ArrayLike<number> | ArrayBuffer } array - An array is initialized with the given elemen…
4405 constructor(array: ArrayLike<number> | ArrayBuffer);
4409 * @param { ArrayBuffer } buffer - An array is initialized with the given elements
4411 * that will be exposed by the typed array view.
4413 * that will be exposed by the typed array view.
4423 * Creates an Uint32Array from an array-like object.
4425 * @param { ArrayLike<number> } arrayLike - An array-like object to convert to an Uint32Array.
4436 * Creates an Uint32Array from an array-like object.
4438 * @param { ArrayLike<T> } arrayLike - An array-like object to convert to an Uint32Array.
4439 … TypedArrayFromMapFn<T, number> } mapFn - A mapping function to call on every element of the array.
4454 * call on every element of the array.
4465 * Returns the this object after copying a section of the array identified by start and end
4466 * to the same array starting at position target.
4469 * length of the array.
4473 * @returns { Uint32Array } The array itself.
4484 * Determines whether all the members of an array satisfy the specified test.
4487 * The every method calls the predicate function for each element in the array until
4488 …icate returns a value which is coercible to the Boolean value false, or until the end of the array.
4489 * @returns { boolean } true unless predicate returns a false value for a typed array element,
4503 * @param { number } value - value to fill array section with.
4504 …* @param { number } [start] - index to start filling the array at. If start is negative, it is tre…
4505 * length+start where length is the length of the array.
4506 …* @param { number } [end] - index to stop filling the array at. If end is negative, it is treated …
4508 * @returns { Uint32Array } The array itself.
4519 * Returns the elements of an array that meet the condition specified in a callback function.
4522 * The filter method calls the predicate function one time for each element in the array.
4523 * @returns { Uint32Array } The array itself.
4534 * Returns the value of the first element in the array where predicate is true, and undefined
4538 * the array, in ascending order, until it finds one where predicate returns true.
4540 * @returns { number | undefined } The first element in the typed array
4552 * Returns the index of the first element in the array where predicate is true, and -1
4556 …* the array, in ascending order, until it finds one where predicate returns true. If such an e…
4558 …* @returns { number } The index of the first element in the typed array that passes the test. Othe…
4569 * Performs the specified action for each element in an array.
4573 * forEach calls the callbackfn function one time for each element in the array.
4584 * Returns the index of the first occurrence of a value in an array.
4586 * @param { number } searchElement - The value to locate in the array.
4587 …* @param { number } [fromIndex] - The array index at which to begin the search. If fromIndex is om…
4589 * @returns { number } The first index of searchElement in the typed array; -1 if not found.
4600 * Adds all the elements of an array separated by the specified separator string.
4601 …* @param { string } [separator] - A string used to separate one element of an array from the next …
4602 * resulting String. If omitted, the array elements are separated with a comma.
4603 * @returns { string } A string with all typed array elements joined.
4604 * If array.length is 0, the empty string is returned.
4615 * Calls a defined callback function on each element of an array, and returns an array that
4619 …ree arguments. The map method calls the callbackfn function one time for each element in the array.
4620 * @returns { Uint32Array } The array itself.
4631 * Calls the specified callback function for all the elements in an array. The return value of
4637 * The reduce method calls the callbackfn function one time for each element in the array.
4639 * completion over the entire typed array.
4650 * Calls the specified callback function for all the elements in an array. The return value of
4656 * The reduce method calls the callbackfn function one time for each element in the array.
4659 * instead of an array value.
4661 * completion over the entire typed array.
4672 * Calls the specified callback function for all the elements in an array. The return value of
4678 * The reduce method calls the callbackfn function one time for each element in the array.
4681 * instead of an array value.
4683 * completion over the entire typed array.
4694 * Reverses the elements in an Array.
4696 * @returns { Uint32Array } The reference to the original typed array, now reversed.
4697 * <br>Note that the typed array is reversed in place, and no copy is made.
4707 * Sets a value or an array of values.
4709 * @param { ArrayLike<number> } array - A typed or untyped array of values to set.
4710 …* @param { number } [offset] - The index in the current array at which the values are to be writte…
4719 set(array: ArrayLike<number>, offset?: number): void;
4721 * Returns a section of an array.
4723 * @param { number } [start] - The beginning of the specified portion of the array.
4724 * @param { number } [end] - The end of the specified portion of the array.
4726 * @returns { Uint32Array } A new typed array containing the extracted elements.
4737 * Determines whether the specified callback function returns true for any element of an array.
4740 * The some method calls the predicate function for each element in the array until
4741 …dicate returns a value which is coercible to the Boolean value true, or until the end of the array.
4742 * @returns { boolean } false unless predicate returns a truthy value for a typed array element,
4754 * Sorts an array.
4760 * @returns { Uint32Array } The reference to the original typed array, now sorted.
4761 * Note that the typed array is sorted in place and no copy is made.
4772 * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements
4775 * @param { number } [begin] - The index of the beginning of the array.
4776 * @param { number } [end] - The index of the end of the array.
4792 * @returns { number | undefined } The element in the array matching the given index.<br/>
4793 * Always returns undefined if index < -array.length or
4794 * index >= array.length without attempting to access the corresponding property.
4805 * Returns an iterable of key, value pairs for every entry in the array
4817 * Returns an iterable of keys in the array
4829 * Returns an iterable of values in the array
4841 … * Determines whether an array includes a certain element, returning true or false as appropriate.
4844 …* @param { number } [fromIndex] - The position in this array at which to begin searching for searc…
4846 …* within the typed array (or the part of the typed array indicated by the index fromIndex, if …
4869 * and at least one of the threads modifies the array structurally,