JS ignores the value of every statement in a comma-separated expression except the last one. So you can do trash like this:
const foo = (bar) => ( console.log(bar), someComputationOf(bar) );
JS ignores the value of every statement in a comma-separated expression except the last one. So you can do trash like this:
And log-debug without restructuring your otherwise pure function.