Frontend 路 Intern to senior

JavaScript Interview Questions and Answers

JavaScript is asked about in almost every frontend and full stack interview, and in many backend ones that use Node.js. These questions start with the fundamentals that interns and freshers are expected to know and move up to the event loop, prototypes and memory management that senior interviews probe.

6 of 20 questions match

Clear filters
  • JavaScriptEasy

    What is hoisting in JavaScript?

    Hoisting is JavaScript moving declarations to the top of their scope during compilation, so functions and var variables can be referenced before the line where they are written.

    Intern 路 Junior 路 Functions & Scope
  • JavaScriptEasyCoding

    How do you check if a string is a palindrome in JavaScript?

    Normalise the string (lower case, remove non-alphanumeric characters), then compare characters from both ends moving inward with two pointers. This is O(n) time and O(1) extra space beyond the normalised copy.

    Intern 路 Junior 路 Coding Problems