Skip to content

Commit c0a7c8e

Browse files
vsemozhetbytjasnell
authored andcommittedMay 28, 2017
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 9302f51 commit c0a7c8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎doc/api/inspector.md

+2-2
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)
Please sign in to comment.