I've also struggled with these tech interviews, but I finally managed to memorise tons of questions they like to ask on tech interviews after playing with JS Interview Hell - https://www.javascript-interview-hell.com/ . Answer from niecnasowa on reddit.com
🌐
Roadmap
roadmap.sh › questions › javascript-coding
Top 80 JavaScript Coding Interview Questions and Answers
It's useful for merging arrays or creating copies (as seen in action in question #19). You can use the filter method to create a new array with only numbers. Then, use return Math.max(...numbers) to find the largest number. Here we’re using the spread operator again to provide the values of the array as individual parameters of the Math.max method. In JavaScript, hoisting is a mechanism where variable and function declarations are moved to the top of their containing scope during the compilation phase, before the code is executed.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-coding-questions-and-answers
JavaScript Coding Questions and Answers - GeeksforGeeks
August 5, 2025 - These Top 50 coding questions and answers will help you to improve your coding concept in JavaScript. If you're a beginner and want to gather some real-time coding examples, then start here. This section will help you understand the fundamentals and solve simple coding problems. This code splits the string into an array of characters using the split() method, reverses the array, and joins it back into a string using the join() method.
Discussions

[AskJS] What are the interview questions you have faced as a JavaScript developer?
I've also struggled with these tech interviews, but I finally managed to memorise tons of questions they like to ask on tech interviews after playing with JS Interview Hell - https://www.javascript-interview-hell.com/ . More on reddit.com
🌐 r/javascript
16
7
October 2, 2024
500+ JavaScript Questions Quiz
This performs very poorly, think about improving the performance by not having all the questions loaded (and hidden) all at once, try getting next question content when user is at prev question ot similar. Also, CSS is not your strong point I see but you should invest a bit there, text is flying a bit around, words are cut off and buttons /scrolling are a bit choppy in movement. More on reddit.com
🌐 r/javascript
26
28
July 17, 2024
[AskJS] Technical test questions about javascript and related framework
Just use Google. https://github.com/sudheerj/javascript-interview-questions The best advice I can give you is to not bullshit about things you don't understand, any interviewer with more experience than you will see right through it, and nobody wants to work with someone who can't admit they don't know everything. More on reddit.com
🌐 r/javascript
5
2
November 27, 2023
GitHub - lydiahallie/javascript-questions: A long list of (advanced) JavaScript questions, and their explanations Updated weekly!
Went thru about 15. I love it. Some questions are really tricky! More on reddit.com
🌐 r/javascript
47
485
June 19, 2019
🌐
Reddit
reddit.com › r/javascript › [askjs] what are the interview questions you have faced as a javascript developer?
r/javascript on Reddit: [AskJS] What are the interview questions you have faced as a JavaScript developer?
October 2, 2024 -

I have an interview tomorrow basically, I come from a CMS background with Drupal and Front end. I just want to make sure I am aware of most of the answers to the common questions

🌐
GreatFrontEnd
greatfrontend.com › blog › 10-must-know-javascript-coding-interview-questions
10+ Must-know JavaScript Coding Interview Questions | Blog
March 28, 2025 - The questions are arranged so the patterns build on each other: closures appear in Debounce, Throttle, Once, and Memoize; recursion appears in Flatten, Deep Equal, Deep Clone, and getElementsByClassName; promise composition appears in Promise.all, Promise.allSettled, and is a common follow-up to Event Emitter (replacing callbacks with promises). Practice each one on the linked GreatFrontEnd page; the IDE runs the same kinds of test cases real interviewers use, so edge cases surface before the interview does. If you'd like to go beyond these 18 questions, check out our open-source GitHub repo featuring +190 JavaScript interview questions with detailed answers and test cases.
🌐
GitHub
github.com › sudheerj › javascript-interview-questions
GitHub - sudheerj/javascript-interview-questions: List of 1000 JavaScript Interview Questions · GitHub
List of 1000 JavaScript Interview Questions. Contribute to sudheerj/javascript-interview-questions development by creating an account on GitHub.
Author   sudheerj
🌐
DEV Community
dev.to › tomeraitz › tricky-javascript-questions-7nk
Tricky JavaScript Questions - DEV Community
October 7, 2020 - What Makes Javascript Weird...and ... visual code examples. What the heck is the event loop anyway? | Philip Roberts | JSConf EU - One of the most famous JavaScript videos recently. He explains how JavaScript works "Behind the scenes" (how the event loop works). Of course, this is only some of the resources on the subject. There are many other resources to learn from. So are you ready to get your mind blow away (from JavaScript question)? Notice 1!: To each question, there is an answer with an ...
Find elsewhere
🌐
Udemy
udemy.com › development
100+ JavaScript Coding Practice Test Questions Answers 2026
January 5, 2026 - JavaScript Interview Coding Questions and Answers (Solution Code with Detailed Explanations) Are you preparing for a JavaScript coding interview and seeking to achieve a level of mastery that allows you to confidently address challenging, nuanced questions? This course is meticulously crafted ...
Rating: 3.9 ​ - ​ 66 votes
🌐
Medium
medium.com › deno-the-complete-reference › 10-javascript-coding-interview-questions-part-1-a0e5bb606eaf
10 JavaScript coding interview questions — Part 1 | Tech Tonic
August 21, 2025 - The right-hand side [b, a] creates a new array with the values of b and a, and the destructuring assignment [a, b] assigns these values back to a and b respectively. ... Thanks for reading this article! ... I’ve recently published my free book in preparing for JavaScript interviews. The book contains 100 frequently asked JavaScript interview questions with answers.
🌐
InterviewBit
interviewbit.com › javascript-interview-questions
60+ Most Important JavaScript Interview Questions and Answers (2026)
Explore 60+ JavaScript interview questions and answers for 2026, covering basics to advanced topics like closures, hoisting, promises, DOM, and ES6.
Published   March 23, 2026
🌐
GreatFrontEnd
greatfrontend.com › blog › 50-must-know-javascript-interview-questions-by-ex-interviewers
50+ Must-know JavaScript Interview Questions by Ex-interviewers (2026) | Blog
May 20, 2026 - 50+ JavaScript interview questions for 2026, with code examples and answers curated by ex-FAANG interviewers. Covers ES2025: immutable array methods, new Set methods (union/intersection), structuredClone, and modern async patterns.
🌐
Keka
keka.com › hr toolkit › interview questions › top 50 javascript coding interview questions and answers
JavaScript Coding Interview Questions and Answers List | Keka
When managers ask this question, they are looking for the candidate’s basic understanding of JavaScript. They assess their understanding of basic syntax along with problem-solving skills. This also helps evaluate the candidate’s coding style and attention to detail. I would take two parameters and the following function can be used to calculate the sum of any 2 numbers that are passed as arguments. ... A hiring manager asks this question to analyze the candidate’s ability to write clear and efficient code.
🌐
JavaScript 30
javascript30.com
JavaScript 30 — Build 30 things with vanilla JS in 30 days with 30 tutorials
If you are a member of one of my premium classes, you can jump into the #JavaScript30 room in our Slack channel. Yes! There are probably 100 different ways to solve each of these exercises, if your answer doesn't line up with mine, it means you did a really good job at trying to figure it out yourself. My answers are by no means the best answers - just a single way of doing it.
🌐
FullStack.Cafe
fullstack.cafe › home › blog › 25+ javascript coding interview questions (solved with code)
25+ JavaScript Coding Interview Questions (SOLVED with CODE) | FullStack.Cafe
November 10, 2019 - The code above will output 5 even though it seems as if the variable was declared within a function and can't be accessed outside of it. This is because ... But b is not declared anywhere in the function with var so it is set equal to 5 in the global scope. Having Tech or Coding Interview? Check 👉 179 JavaScript Interview Questions ... 🤖 Having Machine Learning & DS Interview? Check MLStack.Cafe - 1704 Data Science & ML Interview Questions & Answers!Having ML & DS Interview?
🌐
W3Schools
w3schools.com › js › js_quiz.asp
JavaScript Quiz
The test contains 25 questions and there is no time limit. The test is not official, it's just a nice way to see how much you know, or don't know, about JavaScript. You will get 1 point for each correct answer. At the end of the Quiz, your total score will be displayed.
🌐
CodeChef
codechef.com › practice › javascript
Practice JavaScript
Practice JavaScript online with our set of coding problems selected for beginners. Solve these JavaScript coding problems and prepare for your interviews.
🌐
Codeguppy
codeguppy.com › blog › javascript-coding-challenges-for-beginners › index.html
JavaScript Coding Challenges for Beginners
From 80's BASIC to JavaScript · What is ASCII? Importance of code indentation · How to write clean code? Explaining binary numbers using light bulbs · Charles Babbage facts for kids · Avoid these top 10 coding mistakes · About ASCII and Unicode · 12 questions answered about coding ·
🌐
Indeed
indeed.com › career-advice › interviewing › javascript-coding-interview-questions
36 JavaScript Coding Interview Questions (With Answers) | Indeed.com
Prototypal inheritance is an important ... within a JavaScript application. By asking this question, an interviewer provides the opportunity for you to show your knowledge and explain the importance of this key concept. In your answer, note that prototypal inheritance provides benefits when creating and using objects within your code, including ...
🌐
Simplilearn
simplilearn.com › home › resources › software development › node.js tutorial › node.js interview questions: beginner to advanced (with answers)
100 Node.js Interview Questions With Answers (2026)
3 weeks ago - Prepare with top Node.js interview questions for 2026 - event loop, async/await, streams, Express, security, performance, and system design for all levels.
Address   5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States
🌐
Programiz PRO
programiz.pro › community-challenges › javascript
JavaScript Coding Challenges | Programiz PRO
Sharpen your JavaScript skills with 500+ coding challenges and compete with other challengers to stay on the leaderboard. Available for all levels. Start Now.
🌐
CodeSignal
codesignal.com › home › blog › interview prep › 25 javascript interview questions (and answers) from basic to senior level
25 JavaScript interview questions (and answers) from basic to senior level | CodeSignal
September 10, 2024 - Learning tip: Practice core JavaScript skills in a realistic cloud IDE before your next interview for assessment—Mastering Algorithms and Data Structures in JavaScript in CodeSignal Learn helps you do just that. Question: Write a JavaScript function checkDataTypes that takes three parameters and returns an array containing the data type of each parameter.