Glossary Term
Array.prototype.keys()
2 tags
1 category
The keys() method of Array instances returns a new array iterator object that contains the keys for each index in the array.
When used on sparse arrays, the keys() method iterates empty slots as if they have the value undefined.
The keys() method is generic. It only expects the this value to have a length property and integer-keyed properties.
Syntax example: keys()
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
