Commit d15f522
doc: update output of example in AbortController
Actual output of example in AbortController is mismatched.
Plus, make `reason` parameter as optional in JSDoc.
Refs: https://github.com/nodejs/node/blob/main/doc/api/globals.md#abortcontrollerabortreason
Refs: https://github.com/nodejs/node/blob/main/doc/api/globals.md#static-method-abortsignalabortreason
PR-URL: #47227
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 1f08f48 commit d15f522Copy full SHA for d15f522
File tree
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
Expand file treeCollapse file tree
2 files changed
+4
-4
lines changedOpen diff view settings
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | | - |
| 46 | + |
47 | 47 | |
48 | 48 | |
49 | 49 | |
| ||
196 | 196 | |
197 | 197 | |
198 | 198 | |
199 | | - |
| 199 | + |
200 | 200 | |
201 | 201 | |
202 | 202 | |
|
Collapse file
lib/internal/abort_controller.js
Copy file name to clipboardExpand all lines: lib/internal/abort_controller.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | | - |
| 166 | + |
167 | 167 | |
168 | 168 | |
169 | 169 | |
| ||
337 | 337 | |
338 | 338 | |
339 | 339 | |
340 | | - |
| 340 | + |
341 | 341 | |
342 | 342 | |
343 | 343 | |
|
0 commit comments