Files
codeql/javascript/extractor/tests/es2015/input/templates.js
2018-11-07 07:48:25 +00:00

8 lines
158 B
JavaScript

function tag(strings, ...values) {
return "values: " + values.join(', ');
}
var x = 23;
var y = 19;
`${x} + ${y} = ${x + y}`;
tag `${x} + ${y} = ${x + y}`;