summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/tagged-template-literals.js
blob: 27a8c40edaa08c438fc50bb5fbf6833028f0ddbc (plain)
1
2
3
4
var code = cacheEntry("assertEq('bar', String.raw`bar`);");
var g = newGlobal({ cloneSingletons: true });
evaluate(code, { global: g, saveBytecode: true });
evaluate(code, { global: g, loadBytecode: true })