Junior Javascript Interview Questions

1,681 junior javascript interview questions shared by candidates

1. Given two strings “sentence” and message” and asked me to return a Boolean if a message can be generated from the given sentence(letters with in the sentence can not be reused) Ex: Sentence = “today is monday” Message = “sad day” Output : true Ex: Sentence = “today is monday” Message = “bad day” Output : false 2. Create a todo app using react. 3. Object oriented design of a parking lot. 4. Create react jsx dynamically using JSON response. 5. Print multi dimensional array in a spiral order. Ex: [[1,2,3,4], [5,6,7,8], [9,10,11,12], [13,14,15,16]] Output: 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 6. Reverse the given string as a sentence. Ex: “today is friday” Output: “friday is today” 7. Check If a given string is a valid HTML or not. Ex: “<head></head><body></body>” Output: true Ex: “<head></head><body>” Output: false
avatar

Senior Javascript Developer

Interviewed at Docusign

3.6
Apr 23, 2020

1. Given two strings “sentence” and message” and asked me to return a Boolean if a message can be generated from the given sentence(letters with in the sentence can not be reused) Ex: Sentence = “today is monday” Message = “sad day” Output : true Ex: Sentence = “today is monday” Message = “bad day” Output : false 2. Create a todo app using react. 3. Object oriented design of a parking lot. 4. Create react jsx dynamically using JSON response. 5. Print multi dimensional array in a spiral order. Ex: [[1,2,3,4], [5,6,7,8], [9,10,11,12], [13,14,15,16]] Output: 1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10 6. Reverse the given string as a sentence. Ex: “today is friday” Output: “friday is today” 7. Check If a given string is a valid HTML or not. Ex: “<head></head><body></body>” Output: true Ex: “<head></head><body>” Output: false

During the first interview, they asked me questions to know my expectations and what I was looking for in a company. The second one was about my career and the processes that I'm used to. For the third one, they just asked me to write a new (really basic) feature in my code challenge, and then we talked about how I would react in different situations.
avatar

Javascript Engineer

Interviewed at VEED.IO

4.4
Oct 24, 2022

During the first interview, they asked me questions to know my expectations and what I was looking for in a company. The second one was about my career and the processes that I'm used to. For the third one, they just asked me to write a new (really basic) feature in my code challenge, and then we talked about how I would react in different situations.

Viewing 1131 - 1140 interview questions

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