ReactJS & JavaScript Mock Interview | 🎉 Candidate selected 🎉 | Mid range Engineer
Вставка
- Опубліковано 22 сер 2024
- Join Uncommon Geeks community to discuss with other developers: t.me/uncommongeek. #frontenddeveloper #mockinterview #uncommonGeeks
Link for registering mock interview, register only if your ready to publish your video on UA-cam: forms.gle/38sN...
Interview Preparation series : • Watch this series and ...
Medium Blog / mevasanth
Follow me on LinkedIn - / vasanth-bhat-4180909b
Github Repository that contains examples: github.com/coo...
JavaScript Custom implementation introduction: • Learn Custom implement...
I can give ans to first code snippet const a = b = c = 1
can be seen as
const a = 1;
b = a;
c = b;
so here b and c are declared without any var let or const so these become global variables
and as we know const is a block scope so after function executes and completes a lost its scope and is undefined while b and c are global variable right and we have assigned a number to them so they are showing us type as number.
I hope this is clear.
Correct !!
It is not that variable `a` lost its scope but typeof any variable inside console.log() without declaring always returns undefined. You can try it.
simply write just one line of code in the vs code like below
console.log(typeof a); // undefined
Thank you Aditi ❤
Asking the exact questions that I got interviewed on my past interviews . Everyone has to know these concepts to get a job . Thank you
Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos and share the channel with your friends.
You have very positive vibes and your energy and that enthusiastic smile is awesome 🧡🧡🧡🧡🧡
Thanks for commenting RANGA. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.
21:21, the explanation can be more depth if the function expression is defined with var we get a typerror and with both const and let it's a reference error, typerror comes with var as var is global we are able to refer it but since we have a function expression and our var doesn't yet know it, it throws a typerror while with let and const they are not hoisted per say so reference error shows up!
5:05 , line-by-line execution happens in 2 step execution process with the help of the Hoisting concept in JS. So, what basically happens is that though JS interprets line by line it only performs the compilation phase on first priority meaning the variable gets declared, the function gets declared and it ignores all the execution phase like func invocation or variable assignment. Once it's done it performs the execution phase so we can say to understand that the JS engine moves the compilation process on top but it's only for understanding in reality no such moving to top stuff happens.
These type of contents are really very good.. Can you also explain the answer in detail if the candidate is unable to answer
Sure Sayan, once I finish all mock interview series, will make one video that contains explanation for all.
Blown away by the 1st code snippet question!
Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.
content is awesome 🎉
but if possible then please explain those question in detail which candidate not answer or explain about it. it will be very helpful
Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos. Answering your question, I will make one consolidate video once I complete all mock interviews and I will try to explain all these problems there.
Great set of questions brother !! Will appreciate if you can provide answers to questions which candidate didn’t answered correctly
Thanks for commenting. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos. Answer to your question, I will make one consolidated video after I complete mock interview series and solve all these problems there.
Like your javascript snippet part as its most asked question and we often get confused
Snippet 2- As it was an arrow function and as it was called before the declaration it was giving an error.
Right answer Tejas, In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.
You're doing a great job vasant sir 👍🏻💯 Highly Appreciated your efforts ❤️
Thanks a ton !! share channel details with you're friends !
your videos helped me alot to clear my concepts
Thank you !! share channel with your friends !!
great vdo sir..please post more vdo like this .. this is really helpful
Thanks Renuka, more such videos are on the way !! please share channel details with your friends
I learn alot from this video ❤ thank you so much 💓 make more content like this 💕
Thanks Ashish, please share the channel details with your friends !!
Practical examples like in real time applications are asked more often..could you please make a video on these 🙏
Learned something new . Also waiting to get an interview with you .
Hi, thanks for comments. If it's financially feasible, you can always setup a session with me here: topmate.io/vasanth_bhat
This is Beautifully done!!!!!!!!!!!!!
Thanks for the suggestion Saksham
In the first snippet: I think const only applies to 'a' in the declaration and the other two b, c are not block scoped. I may be wrong.
Correct Ph addu
b and c are mistakenly created as global variable
I am able to answer most of the questions now.
Guess am ready for interviews.
Wonderful !! yes you should be
The code snippets were really good.
Thank you Anubhav. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos.
Great mock interview ❤
Thank you and you can watch more mock interviews here: ua-cam.com/play/PLmcRO0ZwQv4SwXLVpnKb_nFQx1Wd2XEjD.html
Sir please make video on frontend end system design like the complex trading app zerodha and money control and how it works
Thanks for commenting Kanaya. In case if you not subscribed to my channel please subscribe and press the bell icon and watch all my videos. Actually I'm planning to do them, as it requires some research it's taking sometime. But soon you will see system design videos in my channel.
What skill expected for a front end architect position like 12 to 15 years of experience? Please make one video for this for front end. Please help us for scenior persons
This is a very elaborated topic, let me add it my list of backlog items and try to make a video on it.
great job bro. highly appreciate your efforts :) 😇
Thank you !!
Can you please answer the the question if person is not able to answer questions u asked
Yes, that was a plan where I make video on all the questions that I asked, let me make those videos as part 2.
Good
Thanks
how many years of experience does he have ?
Around 3-4 years I think.
provide link of all question and answer
Wtf meanse mid range engineer??? 🤨🧐
What is mid range Engineer?
3-6 years of experience.
1st output question explanation?