Skip to main content
trephine.org/...index.php - Cached
This link has been bookmarked by 2 people . It was first bookmarked on 19 Mar 2009, by Fabio Salzano.
javascript *精華*
var unboundGreet = Bob.greet;unboundGreet();
What do we expect unboundGreet() to produce? The answer is "Hi, my name is ". The reason is that this is set to the window global when an unbound function is called
unboundGreet()
"Hi, my name is "
this
window
javascript tutorials
Join Diigo for a free account, or sign in if you are already a member.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.