Assignment 5

Carson Alonzo | Web Client Applications

0. What is the minimum percentage score on a HW in this course?

50%

1. Declare one function one way and the other a second way. One way is the common way that starts:

2. Make a function that calls itself once.

3. Call a function and print the result.

4. Print out the code of a function (that is, instead of calling it, print the code).

5. Declare an array. Print out its elements using a loop. Print out the length of the array.

6. Do either option (A) or option (B).

Option (A). Make buttons demonstrating the questions above. Add them to your growing button-based encyclopedia of JavaScript buttons, or start a new compendium of buttons that you could add to in future HWs.

The buttons will be under each question