MCPcopy Index your code
hub / github.com/nodejs/node / test

Function test

deps/v8/test/debugger/debug/es8/async-function-debug-evaluate.js:101–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101async function test() {
102 var inner = "inner";
103 debugger;
104
105 let withVar = await testLater();
106 with (withVar) {
107 debugger;
108 }
109
110 assertEquals("x later(57)", withVar.x);
111 assertEquals("y later(100)", withVar.y);
112 assertEquals(undefined, withVar.z);
113 assertEquals("ZEE", z);
114
115 let letInner = "let inner";
116 const constInner = "const inner";
117 debugger;
118
119 try {
120 await thrower();
121 } catch (error) {
122 const bun = "floof";
123 debugger;
124 let cow = "moo";
125 }
126}
127
128test().
129then(x => {

Calls 3

testLaterFunction · 0.85
throwerFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…