swc/ecmascript/minifier/tests/terser/compress/conditionals/cond_2/output.js

4 lines
88 B
JavaScript
Raw Normal View History

function foo(x, FooBar, some_condition) {
x = new FooBar(some_condition ? 1 : 2);
}