Exercises
To further your knowledge of JavaScript, perform the following exercises:
Add a millisecond field to the large clock. You can use the getMilliseconds function, which works just like getSeconds but returns milliseconds. Modify the script to display the time, including milliseconds, twice. Notice whether any time passes between the two time displays when you load the page.
|