Skip to content

this in the context of window does not print anything. #8

@prakashsvmx

Description

@prakashsvmx
function traditionalFn(){
	console.log(this)
}

traditionalFn();

or

var aFunction=()=> console.log(this)

aFunction();

does not print window in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions