We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9302f51 commit c0a7c8eCopy full SHA for c0a7c8e
doc/api/inspector.md
@@ -85,8 +85,8 @@ a response is received. `callback` is a function that accepts two optional
85
arguments - error and message-specific result.
86
87
```js
88
-session.post('Runtime.evaluate', {'expression': '2 + 2'},
89
- (error, {result}) => console.log(result.value));
+session.post('Runtime.evaluate', { expression: '2 + 2' },
+ (error, { result }) => console.log(result));
90
// Output: { type: 'number', value: 4, description: '4' }
91
```
92
0 commit comments