With the help of Proxymise it even works with asynchronous functions.
There is also a proposal for a pipeline operator that will allow functional code to look more fluent without the need of this. g(f(x)) becomes x |> f |> g
x |> f |> g
That's awesome. I'll check out Proxymise. Looks like a neat wrapper for handling async code. As you said help's to remove a lot of the .then()'s
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.