cleanSlate.js demo

Hit c to clean the slate at any point.

Click to call setTimeout with a callback that will set the value at the bottom left.

Click to call setInterval with a callback that will continuously increment the counter at the bottom right.

Click to send an XMLHttpRequest to fetch cleanSlate.js, which will go in the <textarea> below.

Click to create a Worker and send it this message:

The worker will respond after 1 second in the <textarea> below.