DEV Community

Discussion on: JavaScript Interview Questions and Answers you should know - Junior and Senior

Collapse
 
naorzr profile image
naorzr

A closure is not a function in a function.
A closure describes a function with it's context (the lexical env variables in which it was defined)

I kinda dislike the notion of "10 things every programmer has to know", it's always subjective to the author work experience and what he finds valuable.

After interviewing hundreds of candidates, classifying seniors from none seniors always boils down to how well and deeply they know the areas that they worked on, and their ability to work independantly and lead something.

Collapse
 
frontendengineer profile image
Let's Code • Edited

I like your definition better on closure. 😃

I find '10 things...' very valuable as it summarizes the most important things in one go. Imagine the countless time one spent on a topic gets summarized for someone who may have little or does not have any knowledge on the topic. That is a great braindump and is priceless!

I agreed that the skill and ability to perform the job the only thing that matters in the end. I interviewed and got interviewed numerous times as well. Interviewers typically go through multiple processes from recruiters, 1-hour technical, 4-hour panel, and cultural/behavior interview. Interviewees would not be able to progress interviews if are not able to answer common tech interview questions.