es6 object literal method shortcuts