JavaScript Data Structures - 5 - Map

preview_player
Показать описание

📱 Follow Codevolution

JavaScript Data Structures
Data Structures in JavaScript
Map
Рекомендации по теме
Комментарии
Автор

Slight Correction here: Just a quick one at 0:13 you mentioned/defined Maps as been unordered but when it comes to the differences between Maps and Objects at 0:44 you still say that Objects are unordered . Just an observation to note.

aligulaj
Автор

As others have pointed out, Map's maintain insertion order

"The Map object holds key-value pairs and remembers the original insertion order of the keys"
~ MDN Docs on Map()

Ctrl_Alt_Elite
Автор

set and map preserve the insertion order so they are ordered collections

arjunn
Автор

Been following you. Great stuff. Thank you very much.

Roudter
Автор

Bro, in first slide u say map is unordered but in second slide when comparing it to objects u say maps are ordered, which is correct bro I am not Computer student pls tell bro i got perplexed

sathishbalaji
Автор

const map = new Map([[7, 6, 5], [6, 9, 9]])
Why the output for this code is showing as 7 6, 6 9 instead of 7 6, 6 9, 5 9?

kxnibxi
Автор

Hi sir, I learned complete react from your channel it is wonderful. Now I am working in a tech company as a ReactJs developer Thanks you,
And please start new series on NODE-JS becouse your nodejs videos is to old

avinashsagar
Автор

I have always used a forEach, e.g. map.forEach((key, value) => { console.log(key, value)}) as far as I know is just a personal choice as an alternative to for... of. Do you have a reason for using one over the other. I look forward to learning more.

paulbird
Автор

can we use Map to implement hash table?

NafeesathMusfiraBadriya
Автор

Teacher math is imporatant to software engineer?

davidardo
Автор

i think there's a typo in your mad characteristics. maps are ordered and not unordered. just saying...

sitoakujiobi
welcome to shbcf.ru