Created
August 30, 2017 12:09
-
-
Save trustedtomato/42d318a509cc341afe2f65e606e8792d to your computer and use it in GitHub Desktop.
2^n in an other way
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
twoExp = n => eval('0b1' + Array(n - 1).fill(0).join('')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment