chuanxshi / javascript-patterns

JavaScript Design Patterns
http://shichuan.github.io/javascript-patterns
9.39k stars 1.7k forks source link

about self-defining-functions,some issuse not sure #145

Open ahu0605 opened 9 years ago

ahu0605 commented 9 years ago

define scareMe is function , when the prank = scareMe , i think the function 's mem-address-value copy to prank.prototype , is not a handle ,so the function run again not change???