Skip to content

Tag: multi-level

Multi Level Inheritance in Javascript

I am trying to mock inheritance in Javascript using prototype. I have a function named Model and a type of model => Item. How can I access names array from init() function above? Answer Inheritance in Javascript is tricky! Read this post for a great explanation of traditional object oriented inheritance in…