객체의 프로퍼티인 함수
const o2 = { name: 'Wallance', bark: function() { return "Woof!" } } console.log(o2.bark()); // Woof!
Last updated 6 years ago