The quiz questions are designed to test your knowledge of the material covered in this hour . The answers to the questions follow.
If you set the month of a Date object to 6, which month is that?
July. Months are numbered starting with 0, so month 6 is the seventh month.
What are the two commands that can change the color of a movie clip?
The setRGB command can apply a color to a movie clip's Color object. The setTransform command can apply a complex color alteration to the movie clip Color object.
How many ways can an element be removed from an array?
Four. The pop , shift , and splice commands all remove items from an array.
What is the difference between push and unshift ?
The push command adds an item to the end of an array. The unshift command inserts an item at the start of the array.