this - 'this'를 사용하는 해당 함수를 '어떻게' 실행하느냐에 따른 4가지 this 정의
일반함수 실행(Regular function call)
var name = sla;
function log () {
console.log(this.name);
}
log();Dot Notation
Function.prototype.call, Function.prototype.apply, Function.prototype.bind
'new' keyword: Constructor function (생성자 함수)
Last updated