Posted from Diigo. The rest of my favorite links are here.
五月 20, 2009
五月 19, 2009
五月 7, 2009
Diigo Diary 05/07/2009
-
Understanding JavaScript’s this keyword – Trephine
-
var unboundGreet = Bob.greet; unboundGreet();
What do we expect
unboundGreet()to produce? The answer is"Hi, my name is ". The reason is thatthisis set to thewindowglobal when an unbound function is called
-
-
JavaScript call and apply – Trephine
針對 call/apply function 相當清楚的介紹!
基本上,應該說是可以重新檢視 javascript 的物件特性。對於基礎的理解相當有幫助!!!
Posted from Diigo. The rest of my favorite links are here.