Perficient interview question

advance js, es6 , html 5