Created
June 23, 2019 20:02
-
-
Save hacksparrow/a8870fd99aac083def23904656d59a33 to your computer and use it in GitHub Desktop.
Enumerate the digits of Pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function printPiDigits() { | |
| Math.PI.toString().split('').forEach(d => { | |
| console.log(d); | |
| }); | |
| } | |
| printPiDigits(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment