Photon interview question

React js basis and javascript