ES6 homework