Worked Try It Out Example 2

from Chapter 2: Date Types and Variables
Wilton, P., & McPeak, J. (2010). Beginning JavaScript (4th Edition
ed.). p.24 Wiley Publishing, Inc. .