diff --git a/ms.html b/ms.html index 0da5135..fffdd80 100644 --- a/ms.html +++ b/ms.html @@ -4,7 +4,7 @@ How old are you in nanoseconds? - +

diff --git a/ms.js b/ms.js index 3eb13fa..39d4bdf 100644 --- a/ms.js +++ b/ms.js @@ -7,6 +7,4 @@ function calculateYearsSince() { document.getElementById("number").innerText = diffInNs } -while (true) { - calculateYearsSince() -} \ No newline at end of file +setInterval(calculateYearsSince, 0) \ No newline at end of file