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 authored and GitHub committed 2023-01-06 23:49:36 +00:00
1 parent 9e86c492ec
commit 6763932946
1 file changed
+1 -1
+1 -1
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