Classical Vs. Prototypal inheritance
A class is like a blueprint . The classical approach to creating an object is to define the structure of the object, using a CLASS declaration , and instantiate that class to create a new object. Objects created in this manner have their own copies of all instance attributes, plus a link to the single copy of each of the instance methods. Inheritance is the tightest coupling available in OO design. Also, descendant classes have an intimate knowledge of their ancestor classes.
- What is noscript tag?
- Difference between '=', '==' and '===' operators?
- What is Browser Object Model
- How to test a string as a literal and as an object ?
- What is Associative Array? How do we use it?
- Event bubbling and Event Capturing in JavScript?