1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
load(libdir + 'bytecode-cache.js'); var test = ` function f() { function f1() { return 1; } function f2() { return 20; } return f1() + f2(); } function g() { return 300; } f() + g(); `; evalWithCache(test, { assertEqBytecode: true, assertEqResult : true, forceFullParse: true, });