Javascript Interview Questions

1,680 javascript interview questions shared by candidates

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 591 - 600 interview questions

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