Programming/JavaScript
2026. 5. 12.
this, arrow fucntion, template literals, tagged literals, spread operator, rest 파라미터, apply, call, Class, extends
/*ES6 JS study from codingapple내용: this, arrow fucntion, template literals, tagged literals, spread operator, rest 파라미터, apply, call, Class, extends */var 오브젝트2 = { data : { 간지함수 : function(){ console.log(this) } }}오브젝트2.data.간지함수(); // -> 이 this는 오브젝트2.data 호출 // this: 나를 담고있는 object 호출 -> 기본 object(전역)은 window 또는 global 호출 // constructor: object 생성 기계function 기계() { this.이름 = 'Kim..