XYZ interview question

Node ,React ,es6 feature, basic programming