02 - Object Literal

Concept

This demo shows an object literal with three properties and one method that performs math using two of the properties.

Result

Output:

Back