Epicor Software interview question

Basic javascript es5 and es6 questions