JavaScript topics to cover before interview
JavaScript has become an immensely popular choice for modern web applications. The front-end, back-end, or even full-stack web developer position requires JavaScript knowledge.
If we are about to face an interview focused on JavaScript, we should cover the following topics before we attend the interview:
JavaScript Basic:
- Primitive Types, and Reference Types
- Call stack
- JavaScript Objects
- JavaScript Prototype
- Variable Scope and Hoisting
- JavaScript’s “this” With Clarity
- Apply, Call, and Bind
- Object Oriented JavaScript
- IIFE
- setTimeout and setInterval
Advanced JavaScript:
- Closure
- Modules and Namespaces
- Async awaits
- Promise
- Hoisting
- Event loop
- Currying
JavaScript DOM
- How to traverse DOM
- attr vs property HTML
- Element vs Node
- HTMLCollection vs NodeList
- Event bubbling and capturing
- Document fragment
Useful DOM resource
Web performance
- Critical rendering path (DOM, CSSOM, RenderTree, Layout, Paint)
- preload, preconnect, prefetch, dns-prefetch – resource hinting
- catch-control header
Generic topic
- Design pattern
- Data structure
- Algorithms
- Recursion
Additional concepts
- Micro-frontends
- Behavioral questions
- Logical reasoning