| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 90c8546 commit 44361bd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -439,7 +439,7 @@ payload. | |||
| 439 | 439 | session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => { | |
| 440 | 440 | if (!err) { | |
| 441 | 441 | console.log(`Ping acknowledged in ${duration} milliseconds`); | |
| 442 | - console.log(`With payload '${payload.toString()}`); | ||
| 442 | + console.log(`With payload '${payload.toString()}'`); | ||
| 443 | 443 | } | |
| 444 | 444 | }); | |
| 445 | 445 | ``` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -211,7 +211,7 @@ changes: | |||
| 211 | 211 | a process warning. | |
| 212 | 212 | --> | |
| 213 | 213 | ||
| 214 | - The `'unhandledRejection`' event is emitted whenever a `Promise` is rejected and | ||
| 214 | + The `'unhandledRejection'` event is emitted whenever a `Promise` is rejected and | ||
| 215 | 215 | no error handler is attached to the promise within a turn of the event loop. | |
| 216 | 216 | When programming with Promises, exceptions are encapsulated as "rejected | |
| 217 | 217 | promises". Rejections can be caught and handled using [`promise.catch()`][] and | |
| Back | FazBrowse Home | New Git URL |
0 commit comments