JSTQL-JS-Transform/output_testing/493constant-propagation.js

16 lines
240 B
JavaScript
Raw Normal View History

function foo() {
const a = 1;
const b = 2;
const c = 3;
const d = a + b;
const e = d * c;
const f = e / d;
const g = f - e;
if (g) {
"foo" |> console.log(%);
}
const h = g;
const i = h;
const j = i;
return j;
}