Last active
July 1, 2016 04:33
-
-
Save RyanCCollins/2f405d036f889c1f1cc85174746cb4e6 to your computer and use it in GitHub Desktop.
FP in JS
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 say = (what) => | |
(times) => | |
[...Array(times||0)].map((v,i)=>i).forEach((_) => console.log(what)) | |
say("What")(30) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment