| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2b6d283 commit d24de12
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,9 +10,9 @@ const buffer_dir = Buffer.from(string_dir); | |||
| 10 | 10 | const encodings = ['ascii', 'utf8', 'utf16le', 'ucs2', | |
| 11 | 11 | 'base64', 'binary', 'hex']; | |
| 12 | 12 | const expected = {}; | |
| 13 | - encodings.forEach((encoding) => { | ||
| 13 | + for (const encoding of encodings) { | ||
| 14 | 14 | expected[encoding] = buffer_dir.toString(encoding); | |
| 15 | - }); | ||
| 15 | + } | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | 18 | // test sync version | |
| Back | FazBrowse Home | New Git URL |
0 commit comments