
array.values() – Returns a new Array Iterator object that contains the values for each index in the array.
๐ Syntax
iterator = array.values();
๐งช Example
[...['x','y'].values()]; // ['x','y']
array.values() – Returns a new Array Iterator object that contains the values for each index in the array.
iterator = array.values();
[...['x','y'].values()]; // ['x','y']
Comments
Post a Comment