005 print interpolation cross target

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

answer = 42

Expected output

✓ Zig✓ JavaScript
answer = 42
Emitted JavaScript source
const main_module = {
  flow0() {
process.stdout.write("answer = " + (40 + 2) + "\n");
  },
};
main_module.flow0();

Flows

flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "answer = {{ 40 + 2:d }}")

Test Configuration

MUST_RUN