Skip to content

Commit

Permalink
doc: update output of example in inspector
Browse files Browse the repository at this point in the history
Actual output of promise example in inspector is mismatched.

PR-URL: #46073
Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
deokjinkim committed Jan 6, 2023
1 parent 9e86c49 commit 6763932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6763932

Please sign in to comment.