Skip to content

Instantly share code, notes, and snippets.

@hacksparrow
Created June 23, 2019 20:02
Show Gist options
  • Save hacksparrow/a8870fd99aac083def23904656d59a33 to your computer and use it in GitHub Desktop.
Save hacksparrow/a8870fd99aac083def23904656d59a33 to your computer and use it in GitHub Desktop.

Revisions

  1. hacksparrow created this gist Jun 23, 2019.
    7 changes: 7 additions & 0 deletions enum-pi.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    function printPiDigits() {
    Math.PI.toString().split('').forEach(d => {
    console.log(d);
    });
    }

    printPiDigits();