delazification-mode-03.js (399B)
1 let source = ` 2 function foo() { 3 return "foo"; 4 } 5 6 // Wait is skipped as the source is not registered in the stencil cache. 7 waitForDelazificationOf(foo); 8 assertEq(isDelazificationPopulatedFor(foo), false); 9 `; 10 11 const options = { 12 fileName: "inner-03.js", 13 lineNumber: 1, 14 eagerDelazificationStrategy: "ParseEverythingEagerly", 15 newContext: true, 16 }; 17 evaluate(source, options);