HTML and CSS Reference
In-Depth Information
sessiOn 11.2 visual Overview
The setInterval() method is used
to repeat a JavaScript command at a
specified number of milliseconds .
When no date or t i me is specified,
the new Date() o bject constructor
returns a Date o b ject with the
current date and t ime.
The Math object is u sed to create
objects for mathem a tical functions;
the floor() metho d is a mathematical
method used to rou n d a number down
to the next closest integer.
Search WWH ::

Custom Search