-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
I recommend we change the paragraph right above the clearInterval code to this:
"We can stop the animation by passing the interval id returned by setInterval into the clearInterval function."
Now for some nit-picky stuff:
My concern is with the move variable ( var move = setInterval(function() ) - It might be better to change the name of that variable to 'moveInterval' (since setInterval returns an interval id and move is a little non-descriptive).