OOPS for javascript

Inheritance, static member and member hiding using java script.