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 32ebcf7 commit 35cc1b3Copy full SHA for 35cc1b3
test/parallel/test-writedouble.js
@@ -168,8 +168,8 @@ function test(clazz) {
168
// Darwin ia32 does the other kind of NaN.
169
// Compiler bug. No one really cares.
170
assert(0x7F === buffer[15] || 0xFF === buffer[15]);
171
- assert.ok(isNaN(buffer.readDoubleBE(0)));
172
- assert.ok(isNaN(buffer.readDoubleLE(8)));
+ assert.ok(Number.isNaN(buffer.readDoubleBE(0)));
+ assert.ok(Number.isNaN(buffer.readDoubleLE(8)));
173
}
174
175
0 commit comments