78
JavaScript TypedArray values() Method
The JavaScript values() method is used to define the value of the contents in the array.
Syntax:
Parameters:
No parameters
Return value:
Index value
Browser Support:
Chrome | Yes |
Safari | Yes |
Firefox | Yes |
Opera | Yes |
Example 1
JavaScript TypedArray values() Method.
Output:
1
Example 2
JavaScript TypedArray values() Method.
Output:
3
Example 3
JavaScript TypedArray values() Method.
Output:
Undefined
Next TopicJavaScript TypedArray Object