JavaScript Interview questions everyone gets wrong

JavaScript Interview questions everyone gets wrong

Catherine Li

1 год назад

24,371 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@triggerticker
@triggerticker - 12.01.2024 00:07

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

Ответить
@maksworldwebboy1119
@maksworldwebboy1119 - 29.12.2023 11:31

The answer for the last question is Nan ;)

Ответить
@islamfahmy9784
@islamfahmy9784 - 22.12.2023 21:23

Thank you so much

Ответить
@anuj1994k
@anuj1994k - 17.12.2023 20:40

I like it somuch.... kindly do more vdo based questions on javascript function

Ответить
@coreyclark2760
@coreyclark2760 - 13.12.2023 19:08

Well. I'd have failed... I haven't invested much time into var. It's throwing me off quite badly.

Ответить
@artemsapegin
@artemsapegin - 11.12.2023 12:37

The correct answer to all of these: it won’t pass code review.

Ответить
@Phearzmeh1
@Phearzmeh1 - 03.11.2023 09:32

Thanks i never really understood arrow functions but this helps

Ответить
@dbarless
@dbarless - 02.11.2023 22:23

always. add. semicolons.

Ответить
@margaret8114
@margaret8114 - 27.10.2023 01:02

So helpful!

Ответить
@keifer7813
@keifer7813 - 26.10.2023 00:05

The more I watch these vids, the more I cringe at my prior confidence in JavaScript

Ответить
@alexandersnider734
@alexandersnider734 - 19.09.2023 21:13

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.

Ответить
@nittamonisudeepchand5325
@nittamonisudeepchand5325 - 17.09.2023 00:35

😍

Ответить
@MengLinMaker
@MengLinMaker - 05.09.2023 02:56

I prefer to use "const" if possible, then "let" and avoid "var" due to the strange behaviours it causes

Ответить
@josem3933
@josem3933 - 16.08.2023 18:17

Have an interview tomorrow and have been binge watching all your videos

Ответить
@adrianibarra9589
@adrianibarra9589 - 08.08.2023 04:20

LOL i have 3 years of experience and the first one got me haha

Ответить
@cabbage-dev
@cabbage-dev - 05.07.2023 10:49

Some of these questions appear to be made before linters existed and its a wonder they keep being asked

Ответить
@aten488
@aten488 - 28.06.2023 02:46

Thank you for this video. Much needed :) .

Ответить
@meetkass
@meetkass - 26.06.2023 18:51

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!

Ответить
@adam-xt8te
@adam-xt8te - 01.06.2023 09:40

These questions and answers show how shity JS is.

Ответить
@hassansyed6087
@hassansyed6087 - 24.05.2023 03:30

Catherine, aside everything
You are stunning.

Ответить
@anasouardini
@anasouardini - 21.05.2023 11:31

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.

Ответить
@thisisYirou
@thisisYirou - 21.05.2023 04:24

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)

Ответить
@shisui6095
@shisui6095 - 17.04.2023 18:59

let x = 20;
let mot = function(){
console.log(x)

let x = 21
}

mot();





This return the x , in the video is false !

Ответить
@computeraidedyami
@computeraidedyami - 23.03.2023 20:43

You are like a god

Ответить
@lunchboxUFX
@lunchboxUFX - 20.02.2023 08:52

in the last question, b++ of inner() is incrementing var b = 2 of outer(), correct? (This is a closure, yes?)

Ответить
@martapfahl940
@martapfahl940 - 14.02.2023 16:00

Do they really still ask questions including var ? I literally NEVER use var

Ответить
@TamPham-oe2xc
@TamPham-oe2xc - 17.01.2023 20:28

You better than my teacher 😂

Ответить
@costcomembership4617
@costcomembership4617 - 10.01.2023 18:37

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?

Ответить
@stewart6395
@stewart6395 - 10.01.2023 01:39

Really love these old school questions ❤ Everyone should know this

Ответить
@CaliburPANDAs
@CaliburPANDAs - 07.01.2023 01:17

Welcome back Catherine :) do you has twitter?

Ответить
@ohyr8948
@ohyr8948 - 03.01.2023 14:33

Can I Wait for your INTERESTING front-end web devlopment course?

Ответить
@josecastroesq
@josecastroesq - 01.01.2023 01:44

This video is gold. 🪙 Thank you for your content!

Ответить
@C0D3O
@C0D3O - 31.12.2022 23:48

const happy = new Year('🌟')

Ответить
@crowtek2503
@crowtek2503 - 31.12.2022 16:10

Thank you for the tips 😊

Ответить
@ziadomar5057
@ziadomar5057 - 31.12.2022 16:02

Thank you and you are so beautiful

Ответить
@gourabsarker9552
@gourabsarker9552 - 31.12.2022 07:58

Mam how much do you earn as a software engineer? Plz reply. Thanks a lot.

Ответить