Javascript Interview Questions

1,681 javascript interview questions shared by candidates

Not actually an interview, but a step before: Had to write code on google sheets, no online IDE, **GOOGLE SHEETS**. Had two questions: 1) is the string of brackets is correct (you know, "(())[]" etc.); 2) shortening a code. I was naive, thinking they want to see "how I am thinking". NO. They actually copy paste the code and expect it to run. After being written in google sheets. Where they can tell if you paste code. Very unprofessional. No code riview will be offer, nor will be given if asked for, since no-one actually reads the code.
avatar

Javascript Developer

Interviewed at Bright Data

3.8
Jan 22, 2023

Not actually an interview, but a step before: Had to write code on google sheets, no online IDE, **GOOGLE SHEETS**. Had two questions: 1) is the string of brackets is correct (you know, "(())[]" etc.); 2) shortening a code. I was naive, thinking they want to see "how I am thinking". NO. They actually copy paste the code and expect it to run. After being written in google sheets. Where they can tell if you paste code. Very unprofessional. No code riview will be offer, nor will be given if asked for, since no-one actually reads the code.

1. Given two strings "sentence" and "message" and asked me to return a true or false if a message can be generated using the letters in the sentence (we can not reuse the letters in the sentence) 2. create a Todo app in react. 3. Object oriented design of a parking lot. 4. Create React element dynamically from a JSON response. 5. print the multi dimensional array in a spiral order. ex: [[1,2,3,4,], [5,6,7,8,], [9,10,11,12], [13,14,15,16]]; expected output: 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 6. check if the given string is a valid HTML or not. ex: "<head></head><body></body" output: true ex: "<head><body></head>" output: false
avatar

Senior JavaScript Engineer

Interviewed at Docusign

3.6
Apr 23, 2020

1. Given two strings "sentence" and "message" and asked me to return a true or false if a message can be generated using the letters in the sentence (we can not reuse the letters in the sentence) 2. create a Todo app in react. 3. Object oriented design of a parking lot. 4. Create React element dynamically from a JSON response. 5. print the multi dimensional array in a spiral order. ex: [[1,2,3,4,], [5,6,7,8,], [9,10,11,12], [13,14,15,16]]; expected output: 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 6. check if the given string is a valid HTML or not. ex: "<head></head><body></body" output: true ex: "<head><body></head>" output: false

Viewing 601 - 610 interview questions

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