|
|
|
|
|
by richeyryan
993 days ago
|
|
I think the use of template strings simplifies it, even inline: const { status } = await send(`${capitalize(greeting)}!`) console.log(status) It does reduce the number of discrete operations to make the pipe example look more impressive, though. |
|
And let the compiler optimize your code, that is the job of a compiler. Write your code for humans.