< Back
Page 9 of 9
This chapter is from the book
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.
< Back
Page 9 of 9