File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
curriculum/challenges/english/10-coding-interview-prep/data-structures Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ The new version of JavaScript provides us with a built-in Map object which provi
1515- ` .set(key, value) ` sets a new key, value pair
1616- ` .delete(key) ` removes a key, value pair
1717- ` .clear() ` removes all key, value pairs
18- - ` .entries() ` returns an array of all the keys in insertion order
19- - ` .values() ` returns an array of all the values in insertion order
18+ - ` .keys() ` returns a new map iterator object that contains all the keys in insertion order
19+ - ` .values() ` returns a new map iterator object that contains all the values in insertion order
20+ - ` .entries() ` returns a new map iterator object that contains all the key, value pairs in insertion order
2021
2122# --instructions--
2223
You can’t perform that action at this time.
0 commit comments