Javatpoint Logo
Javatpoint Logo

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





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA