What is the result?
let arr = ["a", "b", "c"];
arr.reverse();
console.log(arr);Read the full question →Every question is hand-checked, every answer comes with an explanation, and your progress builds into a clear picture of where you stand.
Every JavaScript question shows its code before you answer, so you are reading real JavaScript, not a description of it.
Once you attempt a question you get the reasoning, not just a tick. That matters most on JavaScript, where interviewers lean on coercion rules, the prototype chain, closures over loop variables, and the exact order the microtask queue drains.
Progress is tracked per topic across the 42 JavaScript topics, so revision points at the gaps instead of the whole list.
580 JavaScript questions right now: 110 easy, 221 medium and 249 hard. That number is read straight from the question table when this page is built, so it is never a rounded marketing figure.
No. Every JavaScript question, including its code snippet, its difficulty and its topic, is readable without signing in. You need a free account only to submit an answer, see which option is correct, and read the worked explanation. We keep it that way so the platform stays honest about what you actually got right.
Interviewers lean on coercion rules, the prototype chain, closures over loop variables, and the exact order the microtask queue drains. Most JavaScript screens are really output-prediction screens.
42 distinct topics are tagged on the JavaScript questions, including array map filter reduce, primitives and typeof, ToPrimitive coercion algorithm, let const var and scope, template literals, Promise.all race allSettled. The topic labels come from the questions themselves, so the list matches what you will actually be asked.
Yes. Reading is free and unlimited. A free account unlocks answering, explanations and progress tracking. Pro (₹199 per month) adds AI explanations and AI-graded guesstimates on top; it is not needed to practise JavaScript MCQs.
Frontend roles at almost every company, plus full-stack and Node back-end roles. It is the most common first round in web hiring.
These are 12 of the 580 JavaScript questions in the library, pulled live from the question table. The snippet, the difficulty and the topic are all here. The answer options and the explanation are not. Those need a free account.
Interviewers lean on coercion rules, the prototype chain, closures over loop variables, and the exact order the microtask queue drains. Most JavaScript screens are really output-prediction screens.
let arr = ["a", "b", "c"];
arr.reverse();
console.log(arr);Read the full question →let arr = ["a", "b"];
arr.push("c");
console.log(arr);Read the full question →typeof null === "object"Read the full question →let arr = [[1, 2], [3, 4, 5]];
console.log(arr.flat());Read the full question →const obj = {
name: "Hello",
sayHello: function() {
console.log(this.name);
}
};
obj.sayHello();Read the full question →let str = "Hello World";
console.log(str.toUpperCase());Read the full question →let numbers = [1, 2, 3, 4];
let result = numbers.find(n => n > 1);
console.log(result);Read the full question →let fruits = ["apple", "banana", "orange"];
console.log(fruits.indexOf("banana"));Read the full question →let add = (x, y) => x + y;
console.log(add(5, 10));Read the full question →let numbers = [1, 2, 3, 4];
let sum = numbers.reduce((acc, val) => acc + val);
console.log(sum);Read the full question →let arr = [[1, 2], [3, 4, 5]];
console.log(arr.flatMap(x => x));Read the full question →let arr = [1, 2, 3];
let result = arr.map(x => x + 1);
console.log(result);Read the full question →We keep the correct answer, the explanation and the scoring behind sign-in so the platform stays honest, which is why the correct option and the worked explanation for every JavaScript question stay behind a free account. Signing in is free and takes a few seconds.
Frontend roles at almost every company, plus full-stack and Node back-end roles. It is the most common first round in web hiring.