JSTQL-JS-Transform/output_testing/918template-literal.js

9 lines
182 B
JavaScript
Raw Normal View History

function componentA(props) {
let t = `hello ${props.a}, ${props.b}!`;
t += ``;
return t;
}
function componentB(props) {
let x = `hello ${props.a}` |> useFoo(%);
return x;
}