Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

setTimeoutDoes an action after a delay.

In this example, foo is set to 200, after a delay of 2000 milliseconds.

Image Modified