Skip to content

Instantly share code, notes, and snippets.

View hcortezr's full-sized avatar

Cortez hcortezr

  • Nevada
  • 14:21 (UTC -07:00)
View GitHub Profile
@hcortezr
hcortezr / EXAMPLE.md
Last active February 13, 2018 09:24 — forked from manast/interval.js
Accurate Javascript setInterval replacement
let int = createInterval(() => console.log("Hello!"), 1000);
int.run();

setTimeout(() => int.stop(), 5000);