Комментарии:
It's crazy to me that after 4 years of uni, now that I am lookinf for a new job, I am looking at this vids to prepare for interview. Most concepts aren't really used at all in real life and thus things get forgotten. Makes you question the real use of these questions xD Anyways thanks for the great vid
ОтветитьThe answer for the last question is Nan ;)
ОтветитьThank you so much
ОтветитьI like it somuch.... kindly do more vdo based questions on javascript function
ОтветитьWell. I'd have failed... I haven't invested much time into var. It's throwing me off quite badly.
ОтветитьThe correct answer to all of these: it won’t pass code review.
ОтветитьThanks i never really understood arrow functions but this helps
Ответитьalways. add. semicolons.
ОтветитьSo helpful!
ОтветитьThe more I watch these vids, the more I cringe at my prior confidence in JavaScript
ОтветитьThese are definitely good academic things to know to understand some of Javascript's history and design philosophy, but any company actually asking me this many questions about my understanding of "this" and "var" would make my really wary of moving forward. This would indicate to me that first, the company might still be using var in practice which for all intents and purposes is almost always the worst option to use for instantiation, and that second the company might be using JS for OOP, which would indicate to me a big mistake, as JS really shines now with a functional focus and there are much better languages to use for OOP. I will concede though its important to understand the context of the arrow function vs a functional declaration.
I would say much more important and likely questions to get in a modern JS interview, relate to especially closures, first-class functions, and might even touch on typing with TS.
😍
ОтветитьI prefer to use "const" if possible, then "let" and avoid "var" due to the strange behaviours it causes
ОтветитьHave an interview tomorrow and have been binge watching all your videos
ОтветитьLOL i have 3 years of experience and the first one got me haha
ОтветитьSome of these questions appear to be made before linters existed and its a wonder they keep being asked
ОтветитьThank you for this video. Much needed :) .
ОтветитьBinging all of these videos now that I am expecting some tech interviews. This is also great insight! I wish I was looking these up BEFORE when I was giving interviews. Thanks!
ОтветитьThese questions and answers show how shity JS is.
ОтветитьCatherine, aside everything
You are stunning.
If only JS and browsers didn't suck, interviewers wouldn't have the chance to ask us these useless stupid questions.
In the question about `setTimeout`, it's not because it's asyncronous but because browsers copy references instead of values.
The second example, console.log(x) would actually return 21 instead of undefined. Yes variable x is hoisted, but code runs from line 1 and below. So if girl() is invoked, that means at that point x is initialized with the value of 21. (if you try in your browser)
Ответитьlet x = 20;
let mot = function(){
console.log(x)
let x = 21
}
mot();
This return the x , in the video is false !
You are like a god
Ответитьin the last question, b++ of inner() is incrementing var b = 2 of outer(), correct? (This is a closure, yes?)
ОтветитьDo they really still ask questions including var ? I literally NEVER use var
ОтветитьYou better than my teacher 😂
ОтветитьHow common are questions regarding var vs let and arrow funcs vs normal funcs? I started learning JS self taught around June of 2022 so almost everything I’ve learned and built has been with the latest syntax. Would you recommend learning more about pre-es6 topics solely to prep for interviews?
ОтветитьReally love these old school questions ❤ Everyone should know this
ОтветитьWelcome back Catherine :) do you has twitter?
ОтветитьCan I Wait for your INTERESTING front-end web devlopment course?
ОтветитьThis video is gold. 🪙 Thank you for your content!
Ответитьconst happy = new Year('🌟')
ОтветитьThank you for the tips 😊
ОтветитьThank you and you are so beautiful
ОтветитьMam how much do you earn as a software engineer? Plz reply. Thanks a lot.
Ответить