Now TV interview question

General JS and react questions