| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,10 +37,10 @@ const v4not = [ | |||
| 37 | 37 | '192.168.0.2000000000', | |
| 38 | 38 | ]; | |
| 39 | 39 | ||
| 40 | - v4.forEach((ip) => { | ||
| 40 | + for (const ip of v4) { | ||
| 41 | 41 | assert.strictEqual(net.isIPv4(ip), true); | |
| 42 | - }); | ||
| 42 | + } | ||
| 43 | 43 | ||
| 44 | - v4not.forEach((ip) => { | ||
| 44 | + for (const ip of v4not) { | ||
| 45 | 45 | assert.strictEqual(net.isIPv4(ip), false); | |
| 46 | - }); | ||
| 46 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments