Skip to content

Instantly share code, notes, and snippets.

@DanShappir
Created November 6, 2019 12:31
Show Gist options
  • Save DanShappir/cc6f3449e8a6e093dec44c59b1eff161 to your computer and use it in GitHub Desktop.
Save DanShappir/cc6f3449e8a6e093dec44c59b1eff161 to your computer and use it in GitHub Desktop.
Verbose code for implementing find
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