Skip to content

Commit 329b6e9

Browse files
committed
doc: fix code example in inspector.md
PR-URL: #13182 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent e6395cc commit 329b6e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/inspector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ a response is received. `callback` is a function that accepts two optional
8585
arguments - error and message-specific result.
8686

8787
```js
88-
session.post('Runtime.evaluate', {'expression': '2 + 2'},
89-
(error, {result}) => console.log(result.value));
88+
session.post('Runtime.evaluate', { expression: '2 + 2' },
89+
(error, { result }) => console.log(result));
9090
// Output: { type: 'number', value: 4, description: '4' }
9191
```
9292

0 commit comments

Comments
 (0)