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 91e2117 commit 1adccc6Copy full SHA for 1adccc6
test/parallel/test-writedouble.js
@@ -189,8 +189,8 @@ function test(clazz) {
189
// Darwin ia32 does the other kind of NaN.
190
// Compiler bug. No one really cares.
191
assert(0x7F === buffer[15] || 0xFF === buffer[15]);
192
- assert.ok(isNaN(buffer.readDoubleBE(0)));
193
- assert.ok(isNaN(buffer.readDoubleLE(8)));
+ assert.ok(Number.isNaN(buffer.readDoubleBE(0)));
+ assert.ok(Number.isNaN(buffer.readDoubleLE(8)));
194
}
195
196
0 commit comments