Doing an interview in JavaScript offers you 2 main advantages: The syntax is simple, intuitive, and easy to grasp — rather than spending the time remembering how to declare an array, you can spend more time thinking about the logic for your solutionx .