Skip to content

clearInterval discussion changes #12

Description

@zachberry

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions