We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19d3ce2 commit 67c599eCopy full SHA for 67c599e
1 file changed
test/parallel/test-net-isipv4.js
@@ -37,10 +37,10 @@ const v4not = [
37
'192.168.0.2000000000',
38
];
39
40
-v4.forEach((ip) => {
+for (const ip of v4) {
41
assert.strictEqual(net.isIPv4(ip), true);
42
-});
+}
43
44
-v4not.forEach((ip) => {
+for (const ip of v4not) {
45
assert.strictEqual(net.isIPv4(ip), false);
46
0 commit comments