04 - Multiple Objects

Concept

This demo uses a constructor function as an object template to create two different objects with the same properties and method.

Result

Output:

Back