AreWe

example chaining

Jun 12th, 2020
1,303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [5, 10, 15]
  2.     .map((i) => i + 3) // [8, 13, 18]
  3.     .filter((i) => i % 2 === 0) // [8, 18]
  4.     .value(); // [8, 18]
Advertisement
Add Comment
Please, Sign In to add comment