HARMAN interview question

Basic JS questions, Closures, ReactJS related questions