He hitesh, what about the other types of key in map? var map4 = new Map([ [ ["first name", "last name"], ["sumit", "ghosh"], ], [ ["friend 1", "friend 2"], ["sourav", "gourav"], ], ]);
Explain Call back function Sir.. Some people says that if we arrow function means where there is no need to call back... Still confusing lot.. Can u elaborate
one more thing to note here: for (const key of myMap){ console.log(key) } // please note that I have taken a different examlpe here above code will give output [ 0, 'Siddharth' ] [ 1, 'Malviya' ] here we use destructing to store keys and values in different variable , for ex for(const [key, value] of myMap){ console.log(`${key}: ${value)`); }
@@siddarth1346 IT means we have to learn trending technology.but what I am thinking is after getting some hands on experience I will leave job and want to startup my own startup and freelance.so I am asking this question..
come on yaar kuch interesting contents banao jaise ki ye kyu aur kab use karte hai, iski zroorat kyu padi, yeh na hota toh kya problems face krni padti, etc ye basic use ke baare me to 100,s of articles and vdos milenge, so kuch hatke banao...
Full course is FREE and will be available here
courses.learncodeonline.in/learn/Complete-Javascript-course
What's the difference between Objects and maps.
As both does the same job basically.
Storing key value pairs.
Plz reply
@@rbk.technology4747 Keys can be of any datatype in map whereas in object's keys are always strings.
@@pranitchavan4549 oh thanks
He hitesh, what about the other types of key in map?
var map4 = new Map([
[
["first name", "last name"],
["sumit", "ghosh"],
],
[
["friend 1", "friend 2"],
["sourav", "gourav"],
],
]);
You always answer questions right after I get them in my head...great work!
Diff between map and object as both of them are storing key value expect the fact that kay can be of ant type in map
Start of the day be like.. WATCH HITESH SIR'S VIDEO ON JS WITH CUP OF TEA 💐💐💐
I was looking at this topic in MDN like nothing.
Thanks Sir
Thank you, Hitesh!
Explain Call back function Sir.. Some people says that if we arrow function means where there is no need to call back... Still confusing lot.. Can u elaborate
Awesome. You are really amazing regarding the way you teach
Thanks 😊 sir
Sir When is the meet up. I also Live in jaipur.
Thank u sir for this course 🙌
Thank you. A very clear explanation.
This was super practical sir
one more thing to note here:
for (const key of myMap){
console.log(key)
} // please note that I have taken a different examlpe here
above code will give output
[ 0, 'Siddharth' ]
[ 1, 'Malviya' ]
here we use destructing to store keys and values in different variable , for ex
for(const [key, value] of myMap){
console.log(`${key}: ${value)`);
}
hey @Hitesh Choudhary which JS extensions are you using ?
Thanks! I got it! Nice video!
Nicely explained
Thank You
Thank you sir
Not broing .very nice explanation.
Are those Green Day Album references? :)
MDN says maps are objects im confused
Quite similar to Java!!
SIr if map is not an object what is it then?
One question always strike on my mind.. can we survive in industry as a mern developer for upcoming 20yr??plz reply
Are you going to stay a mern dev for the next 20 years and never learn anything else?
@@siddarth1346 IT means we have to learn trending technology.but what I am thinking is after getting some hands on experience I will leave job and want to startup my own startup and freelance.so I am asking this question..
thanks!!
#10minutesJS day 48!
Thanks sir
How to search for a number or string or a boolean value from an array and print it, can anyone help.?
const arr=['John' , 23 , true]
Apart from JS you taught us some Spanish also sir ❤
come on yaar kuch interesting contents banao jaise ki ye kyu aur kab use karte hai, iski zroorat kyu padi, yeh na hota toh kya problems face krni padti, etc
ye basic use ke baare me to 100,s of articles and vdos milenge,
so kuch hatke banao...