r/learnjavascript • • Jun 07 '26

JavaScript interview coding round topics.

Hello fellas...I have an upcoming interview where I will be given JavaScript problems to solve and will be asked vanilla JavaScript questions.I am a senior dev. Do you guys have suggestions on questions ,websites or topics . I am really looking fwd to it as it will be the final round but I am very average . I recently failed two tech interviews one of it really really well. So going through 'I am just shitty' syndrome.

8 Upvotes

8 comments sorted by

View all comments

1

u/Frontend_Lead 15h ago

Two failed rounds doesn't make you bad, vanilla JS rounds test recall of things most seniors haven't written by hand in years. It comes back fast.

Topics that cover most senior JS coding rounds:

- utilities: debounce, throttle, memoize, curry, deep clone, deep equal, flatten (array and object), once, pipe / compose

- async: Promise.all / allSettled / race from scratch, retry with backoff, a concurrency limited task queue, sleep

- polyfills: map / filter / reduce, bind / call / apply

- data structures in JS: LRU cache, event emitter

- DOM: event delegation, getElementsByClassName from scratch, a small component in vanilla JS (tabs, modal, autocomplete)

- concepts they'll probe while you code: closures, this, event loop, prototypes

Practice in a plain editor, no autocomplete, talking out loud. 2-3 a day for a week makes a big difference.

frontendlead(com)/coding-questions has these JS questions with solutions to practice (full disclosure, I built it)