Skip to content

Inconsistency with Node.js #123

Open
@falsandtru

Description

@falsandtru

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions