Last active
June 25, 2020 05:28
-
-
Save jason-s13r/fc3aa1bb41da024989c51c6ba968c3da to your computer and use it in GitHub Desktop.
Displays FizzBuzz without containing the string "Fizz" or "Buzz". Reads the source and extracts the characters from the destructured function parameters. https://jsfiddle.net/master5o1/8ekog4j9/
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
const GO=( F,i,z,{[z[0 ]]:B},u, zz)=>B((F% u?'':GO[z [u/ u]] ()[z[zz- zz/zz]](u- | |
u,u **u +zz -zz )[z [u] ](z [zz ],'' )[ | |
z[/* **/ zz- u/u] ](u -u, zz- u/u ))+ (F% | |
zz?'':GO[z [u/ u]] ()[ z[zz-zz/ zz] ](u -u,u **u | |
+zz -zz )[z [u] ](z [zz ],'' )[z [zz -u/ | |
u]] (zz -u/ u)) ||F )|| F< zz** u-u **u | |
+zz -u?GO(F+1,i ,z,i[z[u- zz/zz]],u ,zz):null ;//)[z[z z-u/u]])[ z[zz-u/u] | |
GO(1,this,['log', 'toString', 'console', 'replace', 'substring', /[^a-z]/gi],console,3,5); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment