Javascript Interview Questions

1,680 javascript interview questions shared by candidates

What is a closure? How do you detect if an element is in the viewport? What would the server look at to detect bots vs humans? What is the difference between cookies and localStorage? How do you handle team disagreements?
avatar

Javascript Engineer

Interviewed at Constructor

4.6
May 28, 2025

What is a closure? How do you detect if an element is in the viewport? What would the server look at to detect bots vs humans? What is the difference between cookies and localStorage? How do you handle team disagreements?

Do you know what is Inheritance? Do you know what is (function(){ })() ? Are you familiar with the word this? if you write console.log(this) in a browser what you will get? Then the technical interview it was to output an array of cities and their population as a table, given a string.
avatar

Javascript Developer

Interviewed at Scandit

4
Oct 5, 2022

Do you know what is Inheritance? Do you know what is (function(){ })() ? Are you familiar with the word this? if you write console.log(this) in a browser what you will get? Then the technical interview it was to output an array of cities and their population as a table, given a string.

Viewing 551 - 560 interview questions

Glassdoor has 1,680 interview questions and reports from Javascript interviews. Prepare for your interview. Get hired. Love your job.