Maps in javascript
Вставка
- Опубліковано 27 сер 2020
- Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit... - Наука та технологія
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"],
],
]);
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
You always answer questions right after I get them in my head...great work!
Awesome. You are really amazing regarding the way you teach
Thank you, Hitesh!
Thank u sir for this course 🙌
I was looking at this topic in MDN like nothing.
Thanks Sir
Thanks! I got it! Nice video!
Thank you. A very clear explanation.
Start of the day be like.. WATCH HITESH SIR'S VIDEO ON JS WITH CUP OF TEA 💐💐💐
This was super practical sir
hey @Hitesh Choudhary which JS extensions are you using ?
Thank you sir
Nicely explained
thanks!!
Thank You
Thanks 😊 sir
Sir When is the meet up. I also Live in jaipur.
Not broing .very nice explanation.
Thanks sir
Quite similar to Java!!
SIr if map is not an object what is it then?
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
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]
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)`);
}
MDN says maps are objects im confused
#10minutesJS day 48!
Are those Green Day Album references? :)
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..
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...