Array.values

values — Returns an ArrayIterator with the values of the array.

Description

Array.values()

Changelog

Version Description
ES 6 Introduced.

Examples

Example #1 – values example
var array = [2, 4, 8]; var keys = array.values(); console.log(typeof values); // object console.log(values); // ArrayIterator {}

External references