| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a98102a commit 06a6eef
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ const bad = [ | |||
| 43 | 43 | }, | |
| 44 | 44 | ]; | |
| 45 | 45 | ||
| 46 | - bad.forEach((t) => { | ||
| 46 | + for (const t of bad) { | ||
| 47 | 47 | assert.throws( | |
| 48 | 48 | () => { | |
| 49 | 49 | new TextDecoder(t.encoding, { fatal: true }) | |
@@ -53,4 +53,4 @@ bad.forEach((t) => { | |||
| 53 | 53 | name: 'TypeError' | |
| 54 | 54 | } | |
| 55 | 55 | ); | |
| 56 | - }); | ||
| 56 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments