5 Essential JavaScript Interview Questions

  Рет қаралды 89,845

Coding With Chaim

Coding With Chaim

3 жыл бұрын

Get 1 on 1 mentorship with me! ▶▶▶calendly.com/codingwithchaim/...
In this video I cover 5 of the most essential topics a JavaScript developer should cover and be comfortable with before their next JavaScript interview. It's important that I mention that these topics are all still very relevant even now in the year 2020.
The 5 questions I cover are:
Closures
Hoisting
"this"
promise vs callback
Prototype

Пікірлер: 237
@gabesdum
@gabesdum 3 жыл бұрын
0:18 - 1. What is a closure? 5:10 - 2. What is hoisting? 8:44 - 3. What’s the difference between a Promise and a callback? 12:33 - 4. How does “this” work? 18:23 - 5. What is a prototype?
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Thanks this is helpful!
@kennethmartinez3685
@kennethmartinez3685 2 жыл бұрын
Same bro, same. Haha
@computeraidedyami
@computeraidedyami 2 жыл бұрын
Same bro, jaja
@teothedoor
@teothedoor 11 ай бұрын
Thank you kindly :)
@RishModi
@RishModi 3 жыл бұрын
Damn, I had to check twice wether I was watching this at 2x speed lol. Regardless a great video. Thanks!
@mustafabaaj8774
@mustafabaaj8774 3 жыл бұрын
me too =)))
@sloflo
@sloflo 2 жыл бұрын
Adderall
@samirhajdarevic7757
@samirhajdarevic7757 2 жыл бұрын
Hahhah I put on 0.75 at the start of the video, but I went to eat, and then I came again and started watching, but forgot that am on 0.75, so I double checked am I on 0.75 :D
@troyporter3825
@troyporter3825 9 күн бұрын
haha funny i saw this comment...i usually watch videos at 1.75. I had to slow this guy down lol
@EvuLYT
@EvuLYT 3 жыл бұрын
20 minutes of complete value, best video I’ve seen on JS. Answered every question that popped into my head. Truly remarkable.
@joshuaperezleduc871
@joshuaperezleduc871 2 жыл бұрын
In the beginning i was skeptical of “help you land your next role” but i have been asked these questions almost every time and i have to agree that this will in fact help!
@inordirection_
@inordirection_ 2 жыл бұрын
I've never thought of it as 'declarations get hoisted, assignments don't' but that's a good observation and will make it super easy to remember the behavior of var and function declarations.
@robyeomans1137
@robyeomans1137 3 жыл бұрын
So clear! So many hours watched and all I needed was 20mins from you! Thanks!
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
I’m really glad you find the video useful
@universalpatternmedia4957
@universalpatternmedia4957 2 жыл бұрын
This video made me a position in a very relevant company, absolutely everything that this video covers was asked to me on the interview, and if i didn't watch your video before it, I would have never answered so clearly to these VERY relavant questions about JavaScript! Thanks for sharing your knowledge with the rest of us, it's definitively something that all of us should consider on doing to our next generations to come.
@bludbafMcgraf
@bludbafMcgraf 3 жыл бұрын
Buddy was going fast as hell and sounded like he had a speech impediment... And yet... This is by far the best and most clear/concise breakdown of any coding problem/scenario/ or docs detail i've ever heard... Subbed
@markriddell2093
@markriddell2093 3 жыл бұрын
Been trying to wrap my head around hoisting all day and this was the clearest answer i could find.
@vijayabiradar687
@vijayabiradar687 3 жыл бұрын
My goodness!! How can you be so crystal clear while you explain!! I'm glad that I hit your video.
@73dines
@73dines 3 жыл бұрын
What a tempo! :)
@Curiosity1112
@Curiosity1112 3 жыл бұрын
I had to stop the video after 2 min...and appreciate your great teaching style. It is so clear and concise. Like a breath of fresh air. You have a true gift. If you were to make a full blown tutorial on anything I would purchase it without hesitation. Toda raba.
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Wow, thank you!
@osamagamal495
@osamagamal495 2 жыл бұрын
the funny thing is, I've been developing javascript and react apps for 2 years and I feel like it's the first time for me to understand most of these concepts. :'D
@MasPensador
@MasPensador Жыл бұрын
I never comment on someone, but you are a legend, simple, and clear, and the analogies and examples are spot-on, and simple enough for anyone to understand. Engineering should always be explained simply enough for everyone to understand even if they can't code. Sometimes the only blocker between a bad and a good developer is the understanding of the concepts he is using in his own way. There is a need for a compiler between the technical explanation and our understanding. well done. Bless
@srikarravoori124
@srikarravoori124 3 жыл бұрын
You made it clear the diff b/w Promise and Callback. Its great all other concepts too very clear. Great!
@wjatek997
@wjatek997 2 жыл бұрын
You cannot be bored watching these videos. Great job!
@nakimapi
@nakimapi 3 жыл бұрын
Great video, everything's very clearly explained! It's best if you watch it with 0.75 playback speed :)
@rishabkumar3888
@rishabkumar3888 2 жыл бұрын
lol I was watching at 2x and it was smooth. :)
@ziaahmad8738
@ziaahmad8738 3 жыл бұрын
this vid was amazing, really helped me improve my concept about all these essential parts of JS.
@claudiuh9335
@claudiuh9335 Жыл бұрын
I would like to say, that this is the clearest and fastest way I've seen about this subjects! Wow, well done!
@danieltkach2330
@danieltkach2330 3 жыл бұрын
I really love that I don't have to set the video to 2x like you have to for practically all other tutorials. Thanks for this haha
@arvi8843
@arvi8843 Жыл бұрын
One of the most valuable videos I've watched to refresh my memory on how to explain terms just in case it comes up during tech interview. Succinct explanation! Thank you.
@XxxSucks4UxxX
@XxxSucks4UxxX 2 жыл бұрын
Good job, but the Hoisting definition is a bit off. Variables and function declarations aren’t hoisted to the top of the scope, but are actually saved in memory during the creation phase. Variables are set to undefined by default . Then during the execution phase JavaScript will look for the variable name or function label in memory.
@LifeBeyondTech
@LifeBeyondTech 2 жыл бұрын
This is the correct explanation. It irks me when people say that JavaScript moves your code to the top. Hoisting is just a simple way to explain the 2 phases of JavaScript
@gregorriusadolphus2729
@gregorriusadolphus2729 2 жыл бұрын
Maaaann....this is GOLD! Thank you for such clear explanations!
@DevonVanNote
@DevonVanNote 2 жыл бұрын
I didn't know about the prototype functionality that's really helpful coming from a C# background. It allows me to mimic inheritance like I am used to in C#, in JS. Prepping for a possible interview as a Node JS Backend Developer. Your videos have been extremely helpful.
@cmj1904
@cmj1904 Жыл бұрын
What a great refresher for me I have a couple of interviews coming up. Thank you!
@sathirakatugaha974
@sathirakatugaha974 Жыл бұрын
Incredibly efficient yet extremely valuable video
@brendanduffy827
@brendanduffy827 2 жыл бұрын
You are very good at explaining things. You could write a JavaScript for Dummies book for sure!
@noone-gz4pc
@noone-gz4pc 2 жыл бұрын
Thank you so much!!!! I’m using this for my next technical interview.
@Bejli7
@Bejli7 3 жыл бұрын
That burger example was really good, it helped me to finally understand the concept of Promises. Great video!
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
You can thank Kyle Simpson for that example. Really helped me understand it as well
@nicklandreth2527
@nicklandreth2527 2 жыл бұрын
Your videos need more attention. These are very clear explanations. Great content.
@0the0ambient0
@0the0ambient0 2 жыл бұрын
Great explanations. Thank you!
@karolinasowa4559
@karolinasowa4559 3 жыл бұрын
Yeah very good video! Thanks a lot, finally I understand "this"! 💪
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
ayyyyy! thats awesome! I am happy to hear that
@teothedoor
@teothedoor 11 ай бұрын
That's just a BANGER GOLDEN video, obligatory to rewatch. Subscribed to you, such content needs to be praised with more subscriptions.
@ruveendradewshan128
@ruveendradewshan128 Жыл бұрын
Excellent tutorial. Very articulate, thank you so much!
@caseyhald
@caseyhald 2 жыл бұрын
This guy is insanely smart. Got my sub.
@MistaT44
@MistaT44 2 жыл бұрын
Love it! Clear and straight to the point.
@nickvoclimbs
@nickvoclimbs 3 жыл бұрын
The explanation on closures was perfect for me.
@adnantariq3346
@adnantariq3346 Жыл бұрын
This video has over 80,000 views. I’m surprised it doesn’t have over 80,000 comments thanks you for your clear n easy approach to be explaining such annoying/ difficult concepts of what is a loosely type programming language.
@Alexgub84
@Alexgub84 3 жыл бұрын
Thanks! I like the way you are explaning everything, it's like you are speaking directly to my brain!
@vladaliman97
@vladaliman97 3 жыл бұрын
Nice video and thanks for covering the most asked and important questions for Js. You got a new sub!
@MaxMajc
@MaxMajc 3 жыл бұрын
Great tips. Would be awesome to include event loop and concepts of HOF and delegation
@tonyhill5966
@tonyhill5966 3 жыл бұрын
An awesome and detailed explanation of how functions are 'hoisted'. However, I think it's valuable to focus more on how objects are being added to memory during the compilation phase by the compiler creating the illusion of 'hoisting'. With that, the code that we usually say is hoisted doesn't actually move. It stays exactly where you wrote it.
@naiadbaksh3996
@naiadbaksh3996 2 жыл бұрын
Love the way you explain things. Very useful for interviews. Mazel tov.
@dailydoseofchocolate9411
@dailydoseofchocolate9411 2 жыл бұрын
I wanna thank you for your valuable and precisely chosen topics which is conveyed in the fastest and most efficient way. Keep up the good work and wish you the best 💕
@RoTz0101
@RoTz0101 Жыл бұрын
I had an interview yesterday regarding a JS developer position for a pretty relevant company and I aced it. The reason? I found this video the night before it and god how grateful I am that I did that. I got asked exactly the first two things on this video, what is closure? and what is hoisting? This is excellent and well-explained content. Awesome job!
@panahi3446
@panahi3446 Жыл бұрын
Thanks for this great vide, they asked all questions you covered plus import and export
@Ndzzle
@Ndzzle 3 жыл бұрын
Great video! I learned a lot from this. You break these concepts down for even Jr. Developers do understand. Subscribed.
@mallikarjuns5742
@mallikarjuns5742 2 жыл бұрын
Mind blowing explanation..... 100% clearly explained the concepts....
@Banalitude
@Banalitude 3 жыл бұрын
Just found your channel and it is super informative, thank you !
@pranav2270
@pranav2270 3 жыл бұрын
Crisp clear explanation ,thanks
@mmbower1
@mmbower1 3 жыл бұрын
You are very clear and concise describing these exact concepts I need to touch up on!
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Thanks! I am glad you found the video helpful!
@TibbyProductions
@TibbyProductions 2 жыл бұрын
Great video! Really helped me to prep for my first junior JS dev interview. One thing though, from what I understand and have researched is that let and const do get hoisted, they just don't get initialized with a value of undefined, whereas var does.
@CodingWithChaim
@CodingWithChaim 2 жыл бұрын
Correct
@mathewstafford7943
@mathewstafford7943 3 жыл бұрын
In my first ever interview I was asked about closures and hoisting. They also tested my knowledge on the .map(), .reduce() and .filter() functions, which of course also included callbacks. Mind you, that was one part of the whole interview but these are definitely popular questions.
@crisi6754
@crisi6754 3 жыл бұрын
What was the position for if you don't mind me asking? :)
@mathewstafford7943
@mathewstafford7943 3 жыл бұрын
@@crisi6754 Hey! It was for a junior front end developer role. The stuff I mentioned before was the only technical/white board aspect of it so that was pretty brief. The rest was just figuring out who I was and why I wanted to be there, what kind of stuff I built and what my experience was with the technologies I listed on my resume (only put things you're ready to talk about in depth). The last guy asked me about inversion of control, dependency injection, and asked me to name some design patterns and what I knew about them.
@tneswick2
@tneswick2 Жыл бұрын
Dude you explain it so well
@andrew.schaeffer4032
@andrew.schaeffer4032 Жыл бұрын
Wonderful work, thanks.
@USMANMUSAADAMU
@USMANMUSAADAMU 3 жыл бұрын
First time I'm watching your content and I'm in love with your energy. I hit the subscribe button without thinking about it.
@yassya.5591
@yassya.5591 2 жыл бұрын
Very compact video. So much information. Well explained. Well articulated. Am very impressed. 20min felt like 5mins and that's due the pace at which you speak. Well done. Keep up the hard work.
@LORD-xm1hn
@LORD-xm1hn 3 жыл бұрын
This video made it so simple and clear to understand, thanks
@cdemetriad
@cdemetriad 2 жыл бұрын
Brilliant explanations, well done.
@ornous
@ornous Жыл бұрын
Nice video Chaim. Very clear instruction 🙌
@davidgarcia-rv3fs
@davidgarcia-rv3fs Жыл бұрын
dude you are an excellent teacher.
@yashraj4272
@yashraj4272 Жыл бұрын
Const and let do show some sort of hoisting.. const x = 1 { console.log(x) // Reference error const x = 2 } This shows const x got hoisted at top of curly braces. Source - MDN Web Docs
@DeathByLight
@DeathByLight 3 жыл бұрын
What do you use to record your videos? How did you get your webcam video on bottom right?
@sonamshrishmagar6035
@sonamshrishmagar6035 3 жыл бұрын
Dude, such a clear explanation! Namaste and gratitude from Nepal!
@rxlvnd3397
@rxlvnd3397 2 жыл бұрын
Thanks man! This really helped me!
@developerfriendly
@developerfriendly 3 жыл бұрын
Very good and informative video, thank you very much
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
You are very welcome!
@ryanpanos8862
@ryanpanos8862 Жыл бұрын
Well done!!! very concise and I commend your choices of questions. I think the piece I missed was WHY does the arrow function indicate global scope at around min 18? I believe it is bc this is defined when CALLED as if there was a bind(this) on line 22, correct?
@mj2758
@mj2758 2 жыл бұрын
perfect explanation thank you
@george5530
@george5530 3 жыл бұрын
Amazing video dude, really enjoyed it!
@bltz5058
@bltz5058 Жыл бұрын
This is amazing so glad I watched it.
@apps9052
@apps9052 Жыл бұрын
Great content. Thank you for the time invested!
@CodingWithChaim
@CodingWithChaim Жыл бұрын
Glad it was helpful!
@jani.apurva
@jani.apurva 3 жыл бұрын
Awesome Many Thanks Please bring Awsome video...........
@pawansharma-yh3mx
@pawansharma-yh3mx 3 жыл бұрын
These 20 minutes can get you a job definitely
@britneyh8679
@britneyh8679 2 жыл бұрын
Really great video . Thank you
@hanibal43
@hanibal43 3 жыл бұрын
as always thank you for your great videos! please keep making more of them!
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Will certainly try 😉
@hanibal43
@hanibal43 3 жыл бұрын
@@CodingWithChaim I actually have an interview on Friday would love to see more interview videos especially on react hooks
@GgByAngel
@GgByAngel Жыл бұрын
Thank you for this, sir!
@christerjohanzzon
@christerjohanzzon 2 жыл бұрын
These are some excellent tech questions! I'm going to note them and start tormenting candidates with them... :D
@lone-warrior-13
@lone-warrior-13 3 жыл бұрын
thanks, very helpful video
@mpedzi031
@mpedzi031 3 жыл бұрын
Good work! Thanks for sharing.
@gamingcroctv4523
@gamingcroctv4523 2 жыл бұрын
Thank you sir Chaim!
@BarLotem
@BarLotem 2 жыл бұрын
Amazing! thank you
@SoftwaresCares
@SoftwaresCares 2 жыл бұрын
You are an excellent Javascript tutor! I am preparing for Job interview and I feel like I have passed it
@CodingWithChaim
@CodingWithChaim 2 жыл бұрын
thats awesome! Please report back once you know
@vnm_8945
@vnm_8945 2 жыл бұрын
great explanations!
@jorgeguerreiro6148
@jorgeguerreiro6148 3 жыл бұрын
So good and easy to understand
@jloiterer
@jloiterer 2 жыл бұрын
I had a production nightmare once with regards to our IE8 customers when I used prototype to add a method to an Array. IE8 treated it like the element had an additional array value. This bug prevented 1% of our customers from being able to check out at all - which obviously was a priority 1 emergency. I'm so glad IE8 is gone.
@DevsLikeUs
@DevsLikeUs 3 жыл бұрын
Great interview, thank you !
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
You’re welcome!
@leonzer8257
@leonzer8257 2 жыл бұрын
Thank you very much!!!
@mtn.tespay
@mtn.tespay 2 жыл бұрын
Great One
@nguyenthanhminhduy8280
@nguyenthanhminhduy8280 2 жыл бұрын
This is so neat! Great Content
@gastonyelmini
@gastonyelmini Жыл бұрын
your videos are great! thank you
@dimitrikvaratskhelia9273
@dimitrikvaratskhelia9273 Жыл бұрын
wow explanation is so on point !
@jaelkyle8809
@jaelkyle8809 2 жыл бұрын
Thank you I really like how you explained everything. Subscribed
@RakeshKumar-bq3mf
@RakeshKumar-bq3mf 3 жыл бұрын
awesome.....great. thanks a lot Chaim for clearing the concepts...:-)
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Most welcome!
@codetopia
@codetopia 2 жыл бұрын
Thank you
@thejimbow
@thejimbow 2 жыл бұрын
Thanks for the tips...!
@CodingWithChaim
@CodingWithChaim 2 жыл бұрын
No problem!
@habibiSD
@habibiSD 2 жыл бұрын
Amazing job
@akshatgupta1092
@akshatgupta1092 2 жыл бұрын
Best explanation
@sahartal9503
@sahartal9503 3 жыл бұрын
TODA RABA!! great video, it was so clear :)
@VictoriousVipin
@VictoriousVipin 3 жыл бұрын
Super explanation👏👏
@CodingWithChaim
@CodingWithChaim 3 жыл бұрын
Thank you!
@nimeshanuradha9511
@nimeshanuradha9511 3 жыл бұрын
Great Tutor
React Interview Questions 2020 (7 Questions)
21:59
Coding With Chaim
Рет қаралды 110 М.
JavaScript Array Methods | Map, Find, Filter and Reduce
14:09
Coding With Chaim
Рет қаралды 3,7 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 31 МЛН
Just try to use a cool gadget 😍
00:33
123 GO! SHORTS
Рет қаралды 84 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 50 МЛН
Javascript Interview Prep Course 2022
1:02:33
Monsterlessons Academy
Рет қаралды 68 М.
React Interview Questions 2020 (7 More Questions)
23:16
Coding With Chaim
Рет қаралды 38 М.
TypeScript Interview Questions 2024 (Junior & Mid)
13:46
theSeniorDev
Рет қаралды 2,7 М.
Tricky JavaScript Interview Questions and Answers
16:35
techsith
Рет қаралды 456 М.
Answering tricky JavaScript interview questions
35:16
freeCodeCamp.org
Рет қаралды 67 М.
Nail the Javascript technical interview
12:54
Catherine Li
Рет қаралды 6 М.
How To Impress a Technical Recruiter
5:33
Coding With Chaim
Рет қаралды 3,5 М.
Javascript Coding Interview Questions- You Must Know Them
17:06
Monsterlessons Academy
Рет қаралды 15 М.
One To Three USB Convert
0:42
Edit Zone 1.8M views
Рет қаралды 441 М.
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,2 МЛН
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 128 М.