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.
  • Loading branch information
deokjinkim committed Jan 3, 2023
1 parent 6d49f46 commit 4b61433
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 4b61433

Please sign in to comment.