Comment Comment by progx Its all a problem of formatting, for me this is simple to read. const { status } = await send( capitalize(greeting) + "!" ) But i would not concat things in a method call, bad style. const message = capitalize(greeting) + "!" const { status } = await send(message) The example from the page is a little bit too simple.With complex operations a pipe-method would make more sense.But i will wait for the native pipeline-operator <https://github.com/tc39/proposal-pipeline-operator> instead using now a function. parent progx 3 years ago
With complex operations a pipe-method would make more sense.
But i will wait for the native pipeline-operator <https://github.com/tc39/proposal-pipeline-operator> instead using now a function.