Skip to content

Keyword “this”

JavaScript engine every time an execution context is created, that is every time a function is RUN, it gives a variable called “this” pointed to a different object depends on how the function is invoked(where the function is and how it been called)

Weird part

 

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *