es6console icon indicating copy to clipboard operation
es6console copied to clipboard

this in the context of window does not print anything.

Open prakashsvmx opened this issue 8 years ago • 1 comments

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

traditionalFn();

or

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

aFunction();

does not print window in the console.

prakashsvmx avatar Sep 06 '17 11:09 prakashsvmx

Thank you for reporting this, I am going to take a look at it.

matthisk avatar Sep 06 '17 12:09 matthisk