Saturday, October 4, 2008

Javascript : Prototype

The 'Protype'keyword allows to add extented properties to an existing object.
Its awesome how powerful is this language.
Whatever you think about it, you have to deal with it, so master the beast ;-)
Here is an example on how to add the 'reverse' propertie to all instances
of 'String' objects
http://www.javascriptkit.com/javatutors/proto2.shtml

No comments:

Post a Comment