swc/ecmascript/minifier/tests/terser/compress/evaluate/negative_zero/output.js
강동윤 03db7adc9f
fix(es/transforms/base): Wrap binary operands of unary expressions. (#1793)
swc_ecma_transforms_base:
 - `fixer`: Handle binary operands of unary expressions correctly. (#1789)
2021-06-05 12:58:50 +00:00

2 lines
40 B
JavaScript

console.log(-0, 0, -(1 / 0), -(1 / 0));