method, this 바로 실습을 통해 확인하자 this.html this this.js function f(){ console.log(this); console.log("f is called"); } var o={name:"object", method:f}; f(); o.method(); 결과를 확인하면 다음과 같다. 처음 f함수를 그냥 호출한 경우 this 부분이 window라고 출력되게 되고 다음 변수 o의 method를 통해 호출한 경우에는 this 부분이 변수 o에 대한 정보가 출력되게 된다. this.js function setName(name){ this.name=name; } var o={name:"object", setName:setName}; var o2={name:"", setNam..