If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Wednesday, April 28, 2010

Object Oriented Javascript

Nowadays you'll find many ways to program Object Oriented in javascript. But if you'd like to do it without depending on some third-party javascript library below you'll find an example.




Now you can create a new Lion object which inherits all properties from the function (class) it extends.

No comments:

Post a Comment