Created
November 6, 2019 12:31
-
-
Save DanShappir/cc6f3449e8a6e093dec44c59b1eff161 to your computer and use it in GitHub Desktop.
Verbose code for implementing find
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 largeNumber = numbers | |
|> filter(#, v => v > 42) | |
|> slice(#, 0, 1) | |
|> Array.from | |
|> (a => a[0])(#); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment