| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 91e2117 commit 1adccc6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -189,8 +189,8 @@ function test(clazz) { | |||
| 189 | 189 | // Darwin ia32 does the other kind of NaN. | |
| 190 | 190 | // Compiler bug. No one really cares. | |
| 191 | 191 | assert(0x7F === buffer[15] || 0xFF === buffer[15]); | |
| 192 | - assert.ok(isNaN(buffer.readDoubleBE(0))); | ||
| 193 | - assert.ok(isNaN(buffer.readDoubleLE(8))); | ||
| 192 | + assert.ok(Number.isNaN(buffer.readDoubleBE(0))); | ||
| 193 | + assert.ok(Number.isNaN(buffer.readDoubleLE(8))); | ||
| 194 | 194 | } | |
| 195 | 195 | ||
| 196 | 196 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments