Commit 9c73bd5
doc: simplify util.TextDecoder example
This simplifies the example and makes it runnable. (The current example
has a magic function.) (This also removes an assignment in a condition
which will be flagged if we enable ESLint's no-cond-assign rule.)
PR-URL: #41574
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent f947f72 commit 9c73bd5Copy full SHA for 9c73bd5
File tree
Expand file treeCollapse file tree
1 file changed
+3
-7
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+3
-7
lines changedOpen diff view settings
Collapse file
+3-7Lines changed: 3 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1187 | 1187 | |
1188 | 1188 | |
1189 | 1189 | |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | | - |
1195 | | - |
1196 | | - |
| 1190 | + |
| 1191 | + |
| 1192 | + |
1197 | 1193 | |
1198 | 1194 | |
1199 | 1195 | |
|
0 commit comments