JavaScript Inheritance and Object Programming

Coding Tutorial, Chapter 3e

Object Programming Teaches toString() About Styles

© 18 July, 2013, Martin Rinehart


Results

Add alert()s or console.out()s to show some of your mainline boxes. They will show you your new styles configuration objects.

Code

One line in the toString() method replaces color with your styles object.

Feedback: Martin Rinehart at gmail dot com.

# # #