blob: 10326eecee245905b4881e234ec7b67f63207b67 (
plain)
1
2
3
4
|
var code = cacheEntry("(x => x.toSource())`bar`;");
var g = newGlobal({ cloneSingletons: true });
assertEq("[\"bar\"]", evaluate(code, { global: g, saveBytecode: true }));
assertEq("[\"bar\"]", evaluate(code, { global: g, loadBytecode: true }));
|