Inconsistency with Node.js
falsandtru opened this issue · 2 comments
falsandtru commented
Looks like now assertion APIs of Node.js such as assert.strictEqual
and assert.deepStrictEqual
can compare NaN but power-assert is not.
// Node.js: undefined
// power-assert (on browsers): Exception
assert.strictEqual(NaN, NaN);
petamoriken commented
The problem seems to be caused by browserify's dependency on the old assert@v1.
petamoriken commented
created an issue: browserify/browserify#2015