0

Explain the code please. Thanks

let map = new Map() ; map. set('k1', '1').set('k2', '2'); map.get ('k1') ; for(let kv of map.entries()) console.log('kv[1]');

1st Oct 2019, 11:55 AM
TyaftioN
TyaftioN - avatar
4 Respuestas
+ 2
Hmmm okay thanks for the help :D thats exactly where i was getting confused lol
1st Oct 2019, 12:10 PM
TyaftioN
TyaftioN - avatar
0
The answer is 1 2
1st Oct 2019, 12:01 PM
TyaftioN
TyaftioN - avatar