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 ca25d56 commit 41e4174Copy full SHA for 41e4174
1 file changed
test/parallel/test-net-isipv6.js
@@ -235,10 +235,10 @@ const v6not = [
235
'02001:0000:1234:0000:0000:C1C0:ABCD:0876',
236
];
237
238
-v6.forEach((ip) => {
+for (const ip of v6) {
239
assert.strictEqual(net.isIPv6(ip), true);
240
-});
+}
241
242
-v6not.forEach((ip) => {
+for (const ip of v6not) {
243
assert.strictEqual(net.isIPv6(ip), false);
244
0 commit comments