$ node
> function foo () {return this}
undefined
> foo.call(9)
{}
> foo.call("bar")
{ '0': 'b',
'1': 'a',
'2': 'r' }
> foo.call(9) + 0
9
> foo.call("bar") + ""
'bar'
> foo.call(9) == 9
true
> foo.call(9) === 9
false
Last active
August 29, 2015 14:06
-
-
Save alanshaw/df2170c8d16787c0daf8 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What?! 😢