Files
test-repo/tests/format/js/assignment-expression/call-with-template.js
T
2026-09-11 17:15:23 +08:00

11 lines
163 B
JavaScript

const result = template(`
if (SOME_VAR === "") {}
`)({
SOME_VAR: value,
});
const output =
template(`function f() %%A%%`)({
A: t.blockStatement([]),
});