DEV Community

Tether
Tether

Posted on • Edited on

JavaScript Interview questions

The blog is regarding popular and unique interview question which I come across during interview or from other candidates.
This might include tech stack of web dev related to Vanilla Javascript majourly and also include React js, Node js, TypeScript, Angular, HTML and CSS

Lets go!!!

-> Java Script
1) Event bubbling and event capturing and event delegation
sol: Event delegation refers to the process of using event
propagation (bubbling) to handle events at a higher level
in the DOM than the element on which the event originated

2) Function Borrowing => call , apply, bind => create your own call, apply, bind prototype
3) Create your own map in js
4) strict mode
5) inspect tab
6) create your own Flat method
7) Object.is() vs === vs ==
8) type of Nan and Number.Nan

-> React js
1) control component and uncontrol components
2) create your own custom hook
3) diff usememo , usecallback and memo
4) side effect in react
5) React Virtualisation
6) React fiber
7) diffing reconcilation
8) useref and memoisation
9) bundle.js
10) suspense , server render

-> CSS
1) Create elipsis (Hi i am ...)
2) Create a Clock with js and css like actual non digital clocks with minutes and hour hand ticking

Top comments (0)