Class: shaka.polyfill.TypedArray
A polyfill to provide missing TypedArray methods for older
browsers (indexOf/lastIndexOf/includes).
Constructor
new TypedArray()
A polyfill to provide missing TypedArray methods for older
browsers (indexOf/lastIndexOf/includes).
- Source:
Methods
includes_(searchElement, fromIndex) → {boolean}
This:
Parameters:
Name |
Type |
Description |
searchElement |
number
|
|
fromIndex |
number
|
|
- Source:
Returns:
-
Type
-
boolean
indexOf_(searchElement, fromIndex) → {number}
This:
Parameters:
Name |
Type |
Description |
searchElement |
number
|
|
fromIndex |
number
|
|
- Source:
Returns:
-
Type
-
number
install()
Install the polyfill if needed.
- Source:
lastIndexOf_(searchElement, fromIndex) → {number}
This:
Parameters:
Name |
Type |
Description |
searchElement |
number
|
|
fromIndex |
number
|
|
- Source:
Returns:
-
Type
-
number