Files
babel/packages/babel-plugin-proposal-pipeline-operator/test/fixtures/smart/object-literal/input.js

9 lines
138 B
JavaScript

function area(rect) {
return rect.width * rect.height;
}
const result = -5
|> Math.abs
|> ({ width: #, height: # + 3 })
|> area;