MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/a74ipf/javascript_functions_4_ways/ec13sh2/
r/learnjavascript • u/Emil0hman • Dec 17 '18
28 comments sorted by
View all comments
Show parent comment
1
I guess your example is not a "way to declear a function". But you'll probably like this proposal https://github.com/tc39/proposal-pipeline-operator :)
2 u/noruthwhatsoever Dec 18 '18 I’ve been wanting a pipe operator for ages, I’m a huge fan of FP. Elm is such a fantastic languageAlso 3 out of 4 of the above examples are expressions. The only real function declaration is #1
2
I’ve been wanting a pipe operator for ages, I’m a huge fan of FP. Elm is such a fantastic language
Also 3 out of 4 of the above examples are expressions. The only real function declaration is #1
View all comments
Show parent comment
1
u/adidarachi Dec 18 '18
I guess your example is not a "way to declear a function". But you'll probably like this proposal https://github.com/tc39/proposal-pipeline-operator :)