Skip to content

object arrow 에서의 this #7

@heejunghwang

Description

@heejunghwang

object arrow 에서의 this는 왜 window일까요?

var obj = {
a:()=>{console.log(this)}
}
obj.a() //result : window

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions