Use bitwise operator OR
as pipe operator like in linux terminal
a | sum(b);
a | sum(b) | console.log();
sum(a, b) | console.log();
sum(b, a);
console.log(sum(b, a));
console.log(sum(a, b));
If use a function or method, parentheses are required.
Argument pass to next function as data-last pattern.
- https://astexplorer.net
- https://babeljs.io/docs/usage
- https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/user-handbook.md
- https://github.com/jamiebuilds/babel-handbook/blob/master/translations/en/plugin-handbook.md#writing-your-first-babel-plugin
- https://github.com/babel/babel/blob/main/babel.config.js
- https://babeljs.io/docs/babel-types#callexpression