Iterable keys
importance: 5
We’d like to get an array of map.keys() in a variable and then apply array-specific methods to it, e.g. .push.
But that doesn’t work:
Why? How can we fix the code to make keys.push work?
We want to make this open-source project available for people all around the world.
Help to translate the content of this tutorial to your language!
We’d like to get an array of map.keys() in a variable and then apply array-specific methods to it, e.g. .push.
But that doesn’t work:
Why? How can we fix the code to make keys.push work?