Frontend interview questions that test your JavaScript, TypeScript, and React skills

Recently came across a set of interview questions that really made me pause and think — the kind that test how deeply you understand JavaScript, TypeScript, and React beyond just syntax 👇 What’s the actual difference between Types and Interfaces in TypeScript — and when should you use each? What does “Hoisting” really mean in JavaScript, and how does it affect your code execution? Can you write polyfills for `call`, `apply`, and `bind` — from scratch, using plain JavaScript? How would you write a function that returns a duplicated array with deeply cloned values, not just copies of references? Can you make a JS program that generates a random alphanumeric string every single time it runs — never repeating the same value? What are Keys in React, and why are they essential for rendering lists efficiently? And finally, can you build something that shows your browser’s height and width in real time, updating automatically as you resize the window? These were actual questions from a frontend interview I had recently — and honestly, they’re great for both self-evaluation and brushing up fundamentals. Try answering a few in the comments or sharing how you would approach them 👇 #JavaScript #TypeScript #ReactJS #FrontendInterview #WebDevelopment #TechCommunity #CodingChallenge #LearnInPublic

To view or add a comment, sign in

Explore content categories