![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: "with" statement, extending prototype
From: Luke Matuszewski <matuszewski.lukasz@gmail.com>
Date: Wed Apr 05 2006 - 21:58:59 CEST
eman1000@gmail.com napisal(a):
Here is self explanatory example of public/protected paradigim:
function Car() {
}
this.publicFunction = function()
};
Car.staticConstructorFunction = function()
};
Car.prototype.sharedByAllCarObjectsFunction = function()
};
var car1 = new Car();
Car.prototype.start();
, still you can read about it here:
http://jibbering.com/faq/faq_notes/closures.html
Greets
|