자바스크립트의 모든 객체는 Prototype을 가짐
Prototype
const obj = {}; console.log(obj);
자바스크립트의 모든 객체는 object의 클래스에서 상속받는다. 따라서 obj의 빈 객체도 기능을 만들지 않았지만
console.log( obj.toString() );
console.log( obj.valueOf() );