Zafrul
TechStack
Home
Blog
Interview Q&A
Projects
AI Assistant
Resume Analyzer
Job Match
Contact
JavaScript
Coding
Interview questions on Coding.
All Levels
Beginner
Intermediate
Advanced
Search
Showing
10
of
46
questions
1. Question 22: Can you write a function in JavaScript to find the second-largest element in an array?
+
2. Question 23: Can you write a JavaScript function to group an array of objects by a specified property?
+
3. Question 24: Can you write a JavaScript function to find the missing number in an array of consecutive integers from 1 to N?
+
4. Question 25: Can you write a JavaScript function to reverse the key-value pairs of an object?
+
5. Question 26: Can you write a JavaScript function to check if a given string has balanced parentheses?
+
6. Question 27: Can you write a concise function in JavaScript to implement a simple debounce function that delays the execution of a given function until after a specified time interval has passed without additional calls?
+
7. Question 28: Can you write a JavaScript function to truncate a given string to a specified length and append “…” if it exceeds that length?
+
8. Question 29: Can you write a throttle function in JavaScript to implement a simple throttle function that limits the execution of a given function to once every specified time interval?
+
9. Question 30: Can you write a JavaScript function to check if a given string has all unique characters?
+
10. Question 31: Can you write a function in JavaScript to convert each string in an array of strings to uppercase?
+
Previous
Page 3 of 5
Next