JavaScript Inheritance and Object Programming

Coding Tutorial, Chapter 2c

Add Base Class Parameters

© 18 July, 2013, Martin Rinehart


Results

An alert() (or console.log(), if you prefer) showing the principle properties of your Box object.

The message should be compact. (It will be part of, for example, a Button object's toString().

Code

Code within the <script> tag (following "use strict";).

Feedback: Martin Rinehart at gmail dot com.

# # #