NE Group interview question

Javascript coding and theroetical questions