Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
map object 💙
I don't really get why a object or array is any less useful. looping through a map seems more tedious
well, the point is so that you just run map.get(0) and get the value of zero so you don’t have to loop at all
🔥🔥
I like Map and Set instances, the problem comes when you need to serialize values
"Map through?" "Iterate through"
Cfbr❤❤
Beauty
is it like a hashmap, i mean is the lookup time is constant?
It’s using a hashmap under the hood so yea the look up time is very efficient. Has alot better performance than the standard js object
Why I would Map instead of array? Not convinced, unless performance is better 🤷♂️
Moar
thanks for the 999.999.999th video explaning map in javascript.
Welcome…
map object 💙
I don't really get why a object or array is any less useful. looping through a map seems more tedious
well, the point is so that you just run map.get(0) and get the value of zero so you don’t have to loop at all
🔥🔥
I like Map and Set instances, the problem comes when you need to serialize values
"Map through?" "Iterate through"
Cfbr❤❤
Beauty
is it like a hashmap, i mean is the lookup time is constant?
It’s using a hashmap under the hood so yea the look up time is very efficient. Has alot better performance than the standard js object
Why I would Map instead of array? Not convinced, unless performance is better 🤷♂️
Moar
thanks for the 999.999.999th video explaning map in javascript.
Welcome…