Тёмный
No video :(

Maps and for of loop in javascript 

Hitesh Choudhary
Подписаться 935 тыс.
Просмотров 45 тыс.
50% 1

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/hiteshdo...
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...

Опубликовано:

 

29 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 128   
@niketanchandarana
@niketanchandarana 6 лет назад
i want to learn everything from you in my whole life... you're the best teacher
@mandanprasad6526
@mandanprasad6526 6 лет назад
Dil ki bat bool Di bro...😃
@Somsubhra_Das
@Somsubhra_Das 6 лет назад
Here's the assignment to print the newMap : for (const [key, value] of newMap.entries()) { console.log(`${key} = ${value}`); } Loving this course Sir :D for (const video of javascript.videos()) { console.log(` ${video}`); }
@mizanurrahmankhan692
@mizanurrahmankhan692 6 лет назад
You are my one of the best teacher I have ever found. I will complete all course from your website sequentially. Many many thanks for all of your work for us. Wish you a good and healthy life.
@HiteshCodeLab
@HiteshCodeLab 6 лет назад
Comments like this keeps me going, even at late night
@sukantaghosh3237
@sukantaghosh3237 4 года назад
Sir, Your content is one of the simplest and sorted content in YT. It's really great to learn from you.
@ManishSharma-iv9po
@ManishSharma-iv9po 5 лет назад
Sir, I was that person who really got afraid when I saw coding seriously I didn't like it . But somehow I want to learn it. The way you teach is really amazing and now I am loving to code. This can happens only because of you. Thanks for such a wonderful content and the best part is the way you teach is amazing.
@vinayvivids
@vinayvivids 4 года назад
i am learning this course from you sir even it is after two years the information you provide is awesome sir
@tannerbarcelos6880
@tannerbarcelos6880 3 года назад
For anyone wondering: you can also simply do for(const [key,val] of users) console.log(...)
@yevs99
@yevs99 3 года назад
Sir, The way you explain is topnotch. Thanks for you awesome quality videos. Boom!
@memepinch901
@memepinch901 3 года назад
finally i understood the concept of map , great video hitesh bro.
@paramjeetsingh2901
@paramjeetsingh2901 6 лет назад
I am just loving this series, now i can write my Firebase Cloud Functions using javascript. Thanks for the series Hitesh Sir
@johng5295
@johng5295 5 лет назад
Thanks in a million. "great teachers are great to find."
@user-nm9uk3vf4w
@user-nm9uk3vf4w 4 года назад
Your courses are like food you feel weak when you don't have it So keep doing sir we're really enjoying it and god bless you in your entire life ❤️
@sashkaaleksandrova7508
@sashkaaleksandrova7508 9 месяцев назад
Thank you so much for your videos. They help me a lot.
@rayanalasow9535
@rayanalasow9535 4 года назад
You made me understand it much better than I did when I first learned it thank you
@animeshsingh2880
@animeshsingh2880 6 лет назад
The manner in which map was taught is awesome Sir although its complex topic
@mandanprasad6526
@mandanprasad6526 6 лет назад
We are learning JavaScript in very deep and I am enjoying it very much😃
@hasanfardous
@hasanfardous 5 лет назад
You are doing really good. I'm watching and enjoying a lot. Thanks for your effort.
@koushithb.r3984
@koushithb.r3984 6 лет назад
Nights are more productive than days... I'm I right, sir??😁😁❤️
@drunkenundergraduate2904
@drunkenundergraduate2904 4 года назад
fact!!
@someshmahajan7903
@someshmahajan7903 3 года назад
I love this series...
@shubhamkumarsingh8224
@shubhamkumarsingh8224 6 лет назад
oooohhhooo .... One more lesson to learn Befor sleep.......... thanks for updating this course sir ......... love your video in Js ..........
@sahujiofficial7834
@sahujiofficial7834 5 лет назад
Fall 🍁🍂 in love with with your all course videos But have fear about Linux installation... 🙁 thank u again sir and looking for all upcoming free video courses series u tell everyone why we should and to what learn..
@udaypavan4654
@udaypavan4654 5 лет назад
At last, what you told , converting arrofarr to map will only work for if we give only two elements in each array(out of which first one is key and second one is value). Of-course map is considering only second element in array as value. It's not bothering about third and so on. Am I right ??
@aadityashrivastava8105
@aadityashrivastava8105 6 лет назад
Another great video of your Awesome JS Tutorial series. I am in love with this series. Great work and keep it up 👌🏻🤘🏻.
@amanshelar7987
@amanshelar7987 5 лет назад
let Mymap = new Map(arryofarry) for([key , value] of myMap.entries() { console.log( `${value} = ${key}` ) }
@subhranil764
@subhranil764 6 лет назад
You make it super easy😊
@vikillakkavatri4070
@vikillakkavatri4070 6 лет назад
Yes sir, its really help me thanks sir .
@mykravtsiv13
@mykravtsiv13 4 года назад
hey everyone, thanks for video - to the author! I really have no explanation: ??!! what's wrong with these results -Here it happened when for-of loop was being explained. So here it is : when the console.log is used ( in browser console !) and is written this way - in single line: console.log(key + ' = ' + value ); >> RESULT is displayed with 'Object object' > RESULT is same in first line, but OBJECTS in THE 2nd LINE - CAN BE OPENED now. .. What's changed??? Must be some simple thing, but it looks pretty mystic for me, I meet this ALWAYS in BROWSER's console...And this is NOT just a useless thing !!! - I have always to write all console.logs in TWO lines - everywhere when checking code ! It is so many additional loines! Any ideas ?...
@rahulmotwani1071
@rahulmotwani1071 6 лет назад
The series is getting me involved i have switched to js from java.I want to learn react native for that i need to learn about class i think this is the best tutorials.If you have can you please create a tutorial for react native.
@gouravkhator
@gouravkhator 5 лет назад
Best videos ever in youtube
@priyankapandey3733
@priyankapandey3733 5 лет назад
Wow the way you teach is awesome👍
@Goku-ir3pl
@Goku-ir3pl 5 лет назад
For those who are wondering about previous vidoes which are not in playlist They are in learncodeonline JAVASCRIPT course . I also find after some times
@bedantabhaumik6888
@bedantabhaumik6888 6 лет назад
Sir I am student from Android development of learn code online. Sir can u add some videos in ur course showing the clone of any other famous or great apps
@sudhanshurajbhar9635
@sudhanshurajbhar9635 5 лет назад
Enjoying the series .... Thanks a lot sir
@muhammaddanialtanoli
@muhammaddanialtanoli 5 лет назад
Amazing stuff i really enjoy this. Love from Pakistan
@9895322763
@9895322763 5 лет назад
Fabulous sound clarity 😍
@nagendrarajas6426
@nagendrarajas6426 5 лет назад
error handling video is missing , could you add that please?
@sharmangaria
@sharmangaria 6 лет назад
And your video also lovely and your language mindbloin
@aamirsayani7101
@aamirsayani7101 6 лет назад
Yes we love this series sir
@Mrkafirr
@Mrkafirr 4 года назад
Thanks a lot sir
@karuturisumanth6468
@karuturisumanth6468 4 года назад
Yeah! love this series alot .
@chinmaydas1946
@chinmaydas1946 6 лет назад
We love this series
@msangicyprian1276
@msangicyprian1276 5 лет назад
good teacher
@ManishSharma-iv9po
@ManishSharma-iv9po 5 лет назад
Sir, the thing which I found that can it be possible to cut down the price of the courses because as a student it is really difficult to manage that cost. Please if possible to do may be it can be better for everyone.
@yuganshdwivedi4331
@yuganshdwivedi4331 6 лет назад
Please start up a series based on python Django flask and data science. You are doing an amazing job teaching to code . Thank you :)
@HiteshCodeLab
@HiteshCodeLab 6 лет назад
already did django at learncodeonline.in :)
@yuganshdwivedi4331
@yuganshdwivedi4331 6 лет назад
Hitesh Choudhary thank you I will check it up :)
@mohitkarkar8774
@mohitkarkar8774 6 лет назад
//assignment one litterate valeues for (const [key,value] of users.entries()) { console.log(key + ' =' , value) } var arrOfarr = [['one',1],['two', 2],['three', 3]] var newMap = new Map(arrOfarr) console.log(newMap) //this is simple assignment itret vallues from array of array for (const [key,value] of arrOfarr.entries()) { console.log(key + ' =' , value) }
@anjanidhiman
@anjanidhiman 6 лет назад
It's too good, but sir if you tell us how to use maps in real projects, then it will become really helpful.
@riefkymaulana9040
@riefkymaulana9040 6 лет назад
is the assignment 'convert the above line in literals ' means that we explain how the code work with our words?
@hirengohil9173
@hirengohil9173 5 лет назад
Superb Job Bro...fabulous!
@sonamkumawat6088
@sonamkumawat6088 4 года назад
thank you so much, sir
@balanaguharshavardhan3725
@balanaguharshavardhan3725 5 лет назад
Really loving it! Keep it going!
@siddharthsingh2859
@siddharthsingh2859 4 года назад
thankyou so much bhaiya
@DormantIdeasNIQ
@DormantIdeasNIQ 4 года назад
It is sad that the NOSQL setups are going to become obsolete. They are a bad idea gone bad. Go to SQLite instead. I cannot remember the article that cleared this up, but it left no doubt.
@prasannakumarz
@prasannakumarz 5 лет назад
im also learning some good english.thanx a lot
@sujitkumarborse8051
@sujitkumarborse8051 5 лет назад
Thanks for such good video
@sairamprabhu9712
@sairamprabhu9712 4 года назад
Good and thanks a lot
@krishubisht
@krishubisht 4 года назад
thank you so muchhh sir
@SayJee
@SayJee 4 года назад
thank you Muta.
@gauravrai8377
@gauravrai8377 5 лет назад
Sir the video of exception handling is missing. . . If possible, upload that too please
@abhishekkushwaha8821
@abhishekkushwaha8821 4 года назад
For the upcoming learners you can search for "exceptional handling in javaScript by Hitesh Chaudhary" seperately on youtube.
@WeeMan277
@WeeMan277 5 лет назад
Dude you're awesome!
@bhagyeshwadhale8101
@bhagyeshwadhale8101 6 месяцев назад
Hi sir... Can you make one real time project based on Java script & node
@sarthak_parashar
@sarthak_parashar 5 лет назад
Sir plzz tell how to serve army as an ethical hacker.. And what course is required
@mahmoodkashmiri
@mahmoodkashmiri 6 лет назад
Sir amazing ...
@sudhanshuuniyal5737
@sudhanshuuniyal5737 5 лет назад
Superuub..
@rhimanshu6288
@rhimanshu6288 4 года назад
I am getting this error while assigning key value to empty map "Cannot read property 'set' of undefined"
@pruthvirajchandorikar9275
@pruthvirajchandorikar9275 5 лет назад
Good job bro !!!
@nitishbahl4072
@nitishbahl4072 5 лет назад
why are we using const in for of loop?
@crazyfm6312
@crazyfm6312 6 лет назад
sir please start a new playlist about php coding.
@georgenjue7197
@georgenjue7197 5 лет назад
Am from Kenya thanks a lot am I right on the assignment on this specific assignment ? my solution is newMap.forEach((value, key) => console.log(key + ' = ' + value.name));
@hardik.motwani
@hardik.motwani 5 лет назад
Even if i use newMap instead of newMap.entries(), i am getting the same result, So what is the need for entries()?? Please explain me var arrofArr = [['One', 1], ['Two', 2], ['Three', 3]] var newMap = new Map(arrofArr) console.log(newMap) for (const [key, value] of newMap.entries()) { console.log(`${key} = ${value}`) }
@neonemesis8055
@neonemesis8055 6 лет назад
please do provide the way to use those shortcut tools like multi-cursor and other cool stuff :)
@rehandev7833
@rehandev7833 6 лет назад
Hey Anshu Joshi, for multi-cursor hold the ctrl key and click on the area where you want it. That's it
@vineetbramhankar8099
@vineetbramhankar8099 5 лет назад
Can anybody tell me how can someone populate a map in runtime. I have a usecase such that i am taking data from input texts from a form and i want to insert them in a map datastructure.
@neonemesis8055
@neonemesis8055 6 лет назад
Shit! i got confused at forEach loop. Now, i have to go and watch previous videos ;-;
@muthukumar.s8647
@muthukumar.s8647 5 лет назад
can anyone explain how to iterate an dictionary object which contains multiple dictionary in it.
@yangyangcui9150
@yangyangcui9150 5 лет назад
Thank you :)
@Imranbof
@Imranbof 4 года назад
I like that
@priyankapandey3733
@priyankapandey3733 5 лет назад
Please make tutorials on angular 4 or higher 🙌
@nguyenquan4836
@nguyenquan4836 5 лет назад
Cool. can you make more advanced lessons ?
@amitnegi6493
@amitnegi6493 6 лет назад
var arrofArr = [['one', 1], ['two', 2], ['three', 3]] var newMap = new Map(arrofArr) console.log(newMap.keys()) This prints all the keys like 'one' 'two' 'three' but when i try console.log(`${newMap.keys()}`) it rather prints [object map itreator]. Can you please tell me why? These are some log statements that does not print valuable information: console.log(newMap.keys() + ' = ' + newMap.values()); console.log(`${newMap.keys()} = ${newMap.values()}`); Explanation Required for these statements too.
@Rishabhgupta-cz7ym
@Rishabhgupta-cz7ym 6 лет назад
you have to use for of loop for printing each iterator, just try this it will work --- var arrofArr = [['one', 1], ['two', 2], ['three', 3]] var newMap = new Map(arrofArr) for(const [key, value] of newMap.entries()){ console.log(key + ' = ' + value); console.log(`${value}`) console.log(`${key} = ${value}`); }
@mujtabam265
@mujtabam265 6 лет назад
Sir the previous video is not in the playlist. 😕😕😕
@balachanderharivarsha9757
@balachanderharivarsha9757 5 лет назад
yeah the try catch one
@hardik.motwani
@hardik.motwani 5 лет назад
sir where is video of iterators and generators? Is that in this series
@amishaa9555
@amishaa9555 6 лет назад
can someone please tell me what does he mean by string literals!!!! like i cannot understand his assignment properly
@prasoonpandey1184
@prasoonpandey1184 6 лет назад
Me too :/
@riefkymaulana9040
@riefkymaulana9040 6 лет назад
maybe we explain how the code work with our words
@chetangupta8806
@chetangupta8806 5 лет назад
string literal is the string value which is stored
@hometv4061
@hometv4061 3 года назад
“Literal” simply means that it's the value itself, rather than a variable. ... For example: const dog = 'Santa's Little Helper'; Santa's Little Helper is a string literal, whereas dog isn't.
@mohinijadhav5985
@mohinijadhav5985 5 лет назад
Hey where is your try catch session ??? in your ../01advance folder there is one more file for trycatch.js where is that session
@hardik.motwani
@hardik.motwani 5 лет назад
complete list of video is available on Learncodeonline website, you will find all videos there
@abhayrajsingh777
@abhayrajsingh777 5 лет назад
you have not uploaded try catch video in the series.....please upload it
@ruhankhandaker5198
@ruhankhandaker5198 6 лет назад
var arrofArr = [['one', '1'],['two', '2'],['three', '3']]; var newMap = new Map(arrofArr); for ([key, value] of newMap.entries()) { console.log(`${key} = ${value}`); }
@havefun330
@havefun330 5 лет назад
enjoyed
@AjaySharma-pk5sc
@AjaySharma-pk5sc 4 года назад
Enjoy
@sumitrabaskey6379
@sumitrabaskey6379 6 лет назад
👍
@harshit741
@harshit741 5 лет назад
where is try and catch tut?
@amolacharya5342
@amolacharya5342 5 лет назад
what is string literals?
@kashishdesai3763
@kashishdesai3763 5 лет назад
`` are the string literals
@georgenjue7197
@georgenjue7197 5 лет назад
Aww my correction newMap.forEach((value, key) => console.log(key + '=' + value));
@Canttakethatback
@Canttakethatback 4 года назад
use console.log(`${key}=${value.name}`); instead
@rahulmadhavi5401
@rahulmadhavi5401 6 лет назад
I like for each loop dan for of..
@user-dl6et4cn9w
@user-dl6et4cn9w 5 лет назад
Can anyone plz explain or share assignment
@proudiamindian5952
@proudiamindian5952 6 лет назад
And one how to make app with java
@abhijeetraj7952
@abhijeetraj7952 6 лет назад
@proudiamindian5952
@proudiamindian5952 6 лет назад
How to make games like a GTA,Shadow gun etc
@yashshende2786
@yashshende2786 6 лет назад
start learning unity
@nocode659
@nocode659 6 лет назад
Why no Saturday live bro?
@HiteshCodeLab
@HiteshCodeLab 6 лет назад
I am working on this series and little busy with personal stuff :)
@priyanshvatsal9791
@priyanshvatsal9791 6 лет назад
learning a loot
@sourabhpruthi3618
@sourabhpruthi3618 6 лет назад
please add videos at a faster pace
@HiteshCodeLab
@HiteshCodeLab 6 лет назад
These videos takes time to prepare content, putting up best possible example, recording, editing and publishing. Also my goal is that students should be able to repeat what I am doing.
@krishnakalyan3213
@krishnakalyan3213 6 лет назад
Sir make videos. On dark web
@parthsoni8353
@parthsoni8353 4 года назад
sir hindi mai ku6 kijiye na
Далее
Setting up web structure of javascript
7:29
Просмотров 31 тыс.
Where to keep js file and selecting elements
13:53
Просмотров 28 тыс.
Oxxxymiron, ooes - журавли
00:19
Просмотров 55 тыс.
Classes and objects in javascript
16:30
Просмотров 82 тыс.
Arrays and Template literals in javascript
13:24
Просмотров 71 тыс.
Methods and this keyword in javascript
13:55
Просмотров 62 тыс.
3 Must know methods for Arrays in javascript
11:16
Просмотров 65 тыс.
Arrow function basics in javascript 😃
13:41
Просмотров 65 тыс.
Username and Password checking basics in javascript
15:36
Form validation and simple application in javascript
14:46
Coercion in Javascript
14:53
Просмотров 37 тыс.
For loop in javascript
8:21
Просмотров 60 тыс.