ParkHere interview question

Questions about regular JS, and also ReactJS