Arrays, Objects and Functions

To view the contents (code and comments) of this file, save it as an .html file to your hard drive and open it up in a text editor.

To view the output of this file, open up the working version saved on your hard drive in a web browser and view the output in the JavaScript console.

Output of myFunction:

Output of calculateArea: