I have the below map.
map = { a: [ 11, -11 ], b: [ 'hello', 10 ] }
How do I get the below output from this map?
(11,'hello)
(-11,10)
Note that the number of keys in the map is dynamic. As of now there are 2 keys. I need to get the logic to work for any number of keys and any number of elements in the list for each key. Thanks.
Aucun commentaire:
Enregistrer un commentaire