Full Stack / JS
JavaScript
36 questions · 3 coding challenges
36 questions
Coding challenges
Questions
- 01How does JavaScript work?
- 02What do you mean by DOM and the importance of it?
- 03Can you explain the scope of variables?
- 04What is hoisting?
- 05What is event bubbling and throttling?
- 06What are ES6 features?
- 07Differences between let, const and var?
- 08What is closure?
- 09Difference between forEach and map?
- 10What are all the loop methods that you have worked on?
- 11What do you understand about event loop?
- 12What do you know about immediately invoked functions?
- 13What is the set method?
- 14What is a scope chain?
- 15Do you know about lexical scope?
- 16Differences between not defined and undefined?
- 17Differences between setTimeout() and setInterval()?
- 18Difference between slice and splice?
- 19What are the ways to create an Object in JavaScript?
- 20What is destructuring?
- 21What is the purpose of classes when we also have prototypes?
- 22What is inheritance?
- 23Difference between function and method?
- 24Explain window and this keyword.
- 25What is generator?
- 26Task: filtering sports
- 27Task: swapping values
- 28Task: palindrome
- 29Shallow copy vs deep copy — what does spread copy?
- 30call, apply, bind — how do you set this?
- 31Predict the output: does && return a boolean?Code reading
- 32Task: write debounce
- 33What does 'ok' && 42 return?Multiple choice
- 34Spread and a nested objectMultiple choice
- 35slice or splice — which changes the array?Multiple choice
- 36undefined or not defined?Multiple choice