fosshelp

Thursday, June 28, 2012

Howto Javascript Prototype Pattern

›
 1) a = { x : 100 } ; alert ( a . x ) ; f1 = function MyFun ( ) { } f1 . prototype = a      b = new f1 ( ) ; alert ( b . x ) ;    ...
1 comment:
‹
›
Home
View web version
Powered by Blogger.