Bluevine interview question

Trivial JS questions , ES6 data manipulation