Created
November 16, 2020 12:27
-
-
Save Pengeszikra/586289292e18ce33ce51e6bbdbb8440f to your computer and use it in GitHub Desktop.
calc lotto 5 variatons
This file contains 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
const fact = n => n ? fact(n - 1) * n : 1; | |
Math.round(fact(90) / (fact(5) * fact(90 - 5)) * (1 ** 5) * (1 ** 85)).toLocaleString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment