@@yvng4697 Kalpesh and I were friends many years ago. We used to smoke cigarettes and meth together while doing math together in the same earth that you and I live on. Now he thinks he’s a big old bollywood Siddartha actor.
5:11 >> You'd use for loop if you want to break out of the loop before it completes which helps to make your function/algorithm more efficient when the input array is very long
I know that some functions are simplifying the code. But if you want performance, build your own functions with the "for if when,etc " functions, per example , foreach works , but if you have an array with 10000+ items, then, use for
Helpful. Thanks. I have bad short-term memory. Unless its a childhood trauma, I am not going to remember it. I visit your page a lot. I like how you went over examples then coded different examples on-the-fly afterward. It helps when I see another coder work through little bugs.
About foreach and for - yesterday i had to loop through Files in FileList object (when you add multiple files via input[type=file]). .foreach doesn't work with that, you have to use good old for ;)
Spotted Doppelganger of Newton school moderator 😮!! Is " Some" Function is used frequently ? Object.values is definitely 🚫 an array. It is like a 👻 array. Iterable or something
8 Functions mentioned:
filter, map, reduce, forEach, some, Object.keys, Object.values, Object.entries.
Thanks Erik!
Do you think your better than me.? Or perhaps your dingaling is smaller than mine? Let me kno.
@@tibettenballs4962 um wth u talkin about?
@@yvng4697 Kalpesh and I were friends many years ago. We used to smoke cigarettes and meth together while doing math together in the same earth that you and I live on.
Now he thinks he’s a big old bollywood Siddartha actor.
@@tibettenballs4962 umm oh ok
@@yvng4697 wanna replace K as my friend? #ihavenofriends #nobodylikesme #shouldidoit?
5:11 >> You'd use for loop if you want to break out of the loop before it completes which helps to make your function/algorithm more efficient when the input array is very long
I like this video.Could you make more videos like this?
You bet
@@ProgramWithErik More please!
Thanks man what a refresher.. i would subscribe. you should prpbably do more of these
Well explained bro🎉🔥🔥🔥
I know that some functions are simplifying the code. But if you want performance, build your own functions with the "for if when,etc " functions, per example , foreach works , but if you have an array with 10000+ items, then, use for
Helpful. Thanks. I have bad short-term memory. Unless its a childhood trauma, I am not going to remember it. I visit your page a lot. I like how you went over examples then coded different examples on-the-fly afterward. It helps when I see another coder work through little bugs.
i like this video
Thank you sir !
Great teaching style! Subbed. I’ve been having trouble with basic js concepts and your videos help
This was Fantastic Content! Thanks Erik.
Glad it helped!
Great video! Thanks a lot :)
very interesting video, #lovejavascript
Great video thanks! I'm getting ready for an interview for my first coding job. I didn't know about .some() this is great. I love you.
samsilvaluebinder did you get the job? :)
@@SajidLatifDK Nope. But today I got my first freelance contract!
Great video! Would love it if you could create some more with complex map, filter, and reduce problems.
Thanks Sir Erik
keep up the good job!!!
concise, nice. short.
I love this video make more upload bro
I wanna know about your recording setup , what tools do use ? The recording of the screen at the background looks cool !!!
Good video
Thanks!
Nice
Thanks bear! ;)
Just an idea. But can u make a video about setting up vuejs with an cms system?
That would be interesting...
About foreach and for - yesterday i had to loop through Files in FileList object (when you add multiple files via input[type=file]). .foreach doesn't work with that, you have to use good old for ;)
Aww good point! :)
You can use Array.from(files).forEach(file => { ... }) with ES6.
Love your beard and this video
Thanks!
why you didn't use semi colons?!
beautiful
Can someone plz help me with some JavaScript functions for this online game that I play
You should throw that up on StackOverflow
@@ProgramWithErik Is that like a website or something?
Typed in the firs few functions, I run them and they all coming out as undefined
Hmm... try in the chrome console
You need to console.log(variable) the variables you are storing.
@@sewei24 Do you know how to do JavaScript functions for a game
@@acethomas5774 I have never built a game myself.
@Ramsey Seweingyamwa I’m not trying to build a game I’m trying to get scripts for a game that I play online
Spotted Doppelganger of Newton school moderator 😮!!
Is " Some" Function is used frequently ?
Object.values is definitely 🚫 an array. It is like a 👻 array. Iterable or something
shave much? :) thanks for yt :)
Haha , actually coincidentally I just shaved this morning :)
Why shave, chicks love beards :D
square root =squirt
😁
Top Eight? Are not 7?
filter
map
some
reduce
Object.values
Object.keys
Object.entries
He mentioned 'every' while discussing 'some'. Not much of a discussion but the context made it simple enough.
you look confused yourself
Erik have you converted to Islam, cause your face seems glowing with light