Mphasis interview question

More on ES6 and Javascript