Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0c23fb

Browse filesBrowse files
daeyeontargos
authored andcommitted
doc: fix a typo in fs.openAsBlob
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #47693 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 4fa7739 commit c0c23fb
Copy full SHA for c0c23fb

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+3-4Lines changed: 3 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3383,10 +3383,9 @@ added: v19.8.0
33833383
Returns a {Blob} whose data is backed by the given file.
33843384
33853385
The file must not be modified after the {Blob} is created. Any modifications
3386-
will cause reading the {Blob} data to fail with a `DOMException`.
3387-
error. Synchronous stat operations on the file when the `Blob` is created, and
3388-
before each read in order to detect whether the file data has been modified
3389-
on disk.
3386+
will cause reading the {Blob} data to fail with a `DOMException` error.
3387+
Synchronous stat operations on the file when the `Blob` is created, and before
3388+
each read in order to detect whether the file data has been modified on disk.
33903389
33913390
```mjs
33923391
import { openAsBlob } from 'node:fs';

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.