DEV Community

Discussion on: Interview questions for JS

Collapse
 
urielbitton profile image
Uriel Bitton • Edited

First of all you will never get questions like this when applying to any job today. They are just way too specific and no interviewer cares to ask you this as you can simply google the answers.

In my experience, interviewers ask two things during interviews. One can be hypothetical questions like "how would authenticate a user in this scenario"? Or "how do you handle login in your app"? And these would be asked in a very general way. They won't ask you to explain how an arrow function works or what a split function does...

The second question could be "say I wanted to remind a user to check their email, how would I achieve that with react/vanilla js/java etc.

In a third likely scenario you could also be asked the classic question "how do you see yourself working with a team of x developers", "would you refactor or continue code that is poorly written as a new team member" Etc.

Knowing basic and advanced js concepts is definitely important and you should master them as much as possible but these specific concepts are ones you need once you do get the job but very rarely during the interview process.

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Actually I got a lot of those questions as a senior developer. And to be frank I found it to be quite insulting. I mean I can write code in at least 10 programming languages. The languages and their special cases usually don't matter much. The concepts at the root (and from a birds eye view) however do matter.