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 1: Can you write a function in JavaScript to reverse the order of words in a given string?
+
2. Question 2: Can you write a function in JavaScript to remove duplicate elements from an array?
+
3. Question 3: Can you write a function in JavaScript to merge two objects without overwriting existing properties?
+
4. Question 4: Can you write a function in JavaScript to get the current date in the format “YYYY-MM-DD”?
+
5. Question 5: Can you write a function in JavaScript to calculate the cumulative sum of an array?
+
6. Question 6: Can you write a function in JavaScript to split an array into chunks of a specified size?
+
7. Question 7: Can you write a one-liner in JavaScript to find the longest consecutive sequence of a specific element in an array?
+
8. Question 8: Can you write a function in JavaScript to transpose a 2D matrix?
+
9. Question 9: Can you write a function in JavaScript to convert a string containing hyphens and underscores to camel case?
+
10. Question 10: Can you write a line of code in JavaScript to swap the values of two variables without using a temporary variable?
+
Previous
Page 1 of 5
Next