doc: update output of example in inspector

Actual output of promise example in inspector is mismatched.

PR-URL: https://github.com/nodejs/node/pull/46073
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Deokjin Kim
2023-01-07 08:49:36 +09:00
committed by GitHub
parent 9e86c492ec
commit 6763932946

View File

@@ -144,7 +144,7 @@ try {
} catch (error) {
console.error(error);
}
// Output: { type: 'number', value: 4, description: '4' }
// Output: { result: { type: 'number', value: 4, description: '4' } }
```
The latest version of the V8 inspector protocol is published on the