Home » JavaScript TypedArray values() Method

JavaScript TypedArray values() Method

by Online Tutorials Library

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.

Test it Now

Output:

1  

Example 2

JavaScript TypedArray values() Method.

Test it Now

Output:

3  

Example 3

JavaScript TypedArray values() Method.

Test it Now

Output:

Undefined  

You may also like