오브젝트 프롭에 메소드를 할당할 때,
function
과 :
키워드를 생략해도 된다.const obj = { name : '한어진', full : function(){ return this.name; }, shorthand (){ return this.name; } }

function
과 :
키워드 생략 가능.function
과 :
키워드를 생략해도 된다.const obj = { name : '한어진', full : function(){ return this.name; }, shorthand (){ return this.name; } }