Permalink
Browse files

doc: fix code example in inspector.md

PR-URL: #13182
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information...
vsemozhetbyt authored and jasnell committed May 24, 2017
1 parent 9302f51 commit c0a7c8e0d20521ff2d5c1341599e3b6feacd162c
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/inspector.md
View
@@ -85,8 +85,8 @@ a response is received. `callback` is a function that accepts two optional
arguments - error and message-specific result.
```js
session.post('Runtime.evaluate', {'expression': '2 + 2'},
(error, {result}) => console.log(result.value));
session.post('Runtime.evaluate', { expression: '2 + 2' },
(error, { result }) => console.log(result));
// Output: { type: 'number', value: 4, description: '4' }
```

0 comments on commit c0a7c8e

Please sign in to comment.