This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
The proposal “Pipe operator (|>
) for JavaScript” (by J. S. Choi, James DiGioia, Ron Buckton and Tab Atkins) introduces a new operator. This operator is an idea borrowed from functional programming that makes applying functions more convenient in many cases.
This blog post describes how the pipe operator works and what its use cases are (there are more than you might expect!).
This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer
Dr. Axel Rauschmayer | Sciencx (2022-01-27T00:00:00+00:00) A pipe operator for JavaScript: introduction and use cases. Retrieved from https://www.scien.cx/2022/01/27/a-pipe-operator-for-javascript-introduction-and-use-cases/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.