JavaScript WTFs Episode 1
12
JavaScript WTFs Lorenzo Baracchi EPISODE 1
-
Upload
lorenzo-baracchi -
Category
Software
-
view
90 -
download
0
Transcript of JavaScript WTFs Episode 1
JavaScriptWTFs
Lorenzo Baracchi
EPISODE 1
this
this is “magically” there
this is “magically” there
this for methods
this for methods
this for methods (variant)
this for methods (variant)
Bind: a reference to a function with a persistent this value
this bind
~ bind
…