re: What’s your favorite JS interview question? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

100% agreed on this. All the "trick questions" in this thread are basically intended for the interviewer to flex on the candidate.

A better twist on these would be "You write this code, and instead of getting X behavior like you wanted, you get Y behavior. How would you go about debugging this?"

Plus, the questions about "When do you not use this" are also great, because not only do you weed out candidates that are fully invested in one popular thing, but you also get some information on their priorities in choosing a tool for a job.

code of conduct - report abuse