| https://beta.docs.nodejs.org/ |
| Learn | https://nodejs.org/en/learn |
| About | https://nodejs.org/en/about |
| Download | https://nodejs.org/en/download |
| Docs | https://nodejs.org/docs/latest/api/ |
| Blog | https://nodejs.org/en/blog/ |
| Contribute | https://github.com/nodejs/node/blob/main/CONTRIBUTING.md |
| https://github.com/nodejs/node |
| About this documentation | https://beta.docs.nodejs.org/index.html |
| Usage and example | https://beta.docs.nodejs.org/synopsis.html |
| Assert | https://beta.docs.nodejs.org/assert.html |
| assert.AssertionError | https://beta.docs.nodejs.org/assert/AssertionError.html |
| assert.Assert | https://beta.docs.nodejs.org/assert/Assert.html |
| assert | https://beta.docs.nodejs.org/assert/assert-2.html |
| assert.deepEqual | https://beta.docs.nodejs.org/assert/deepEqual.html |
| assert.deepStrictEqual | https://beta.docs.nodejs.org/assert/deepStrictEqual.html |
| assert.doesNotMatch | https://beta.docs.nodejs.org/assert/doesNotMatch.html |
| assert.doesNotReject | https://beta.docs.nodejs.org/assert/doesNotReject.html |
| assert.doesNotThrow | https://beta.docs.nodejs.org/assert/doesNotThrow.html |
| assert.equal | https://beta.docs.nodejs.org/assert/equal.html |
| assert.fail | https://beta.docs.nodejs.org/assert/fail.html |
| assert.ifError | https://beta.docs.nodejs.org/assert/ifError.html |
| assert.match | https://beta.docs.nodejs.org/assert/match.html |
| assert.notDeepEqual | https://beta.docs.nodejs.org/assert/notDeepEqual.html |
| assert.notDeepStrictEqual | https://beta.docs.nodejs.org/assert/notDeepStrictEqual.html |
| assert.notEqual | https://beta.docs.nodejs.org/assert/notEqual.html |
| assert.notStrictEqual | https://beta.docs.nodejs.org/assert/notStrictEqual.html |
| assert.ok | https://beta.docs.nodejs.org/assert/ok.html |
| assert.rejects | https://beta.docs.nodejs.org/assert/rejects.html |
| assert.strictEqual | https://beta.docs.nodejs.org/assert/strictEqual.html |
| assert.throws | https://beta.docs.nodejs.org/assert/throws.html |
| assert.partialDeepStrictEqual | https://beta.docs.nodejs.org/assert/partialDeepStrictEqual.html |
| Async hooks | https://beta.docs.nodejs.org/async_hooks.html |
| Asynchronous context tracking | https://beta.docs.nodejs.org/async_context.html |
| Benchmark runner | https://beta.docs.nodejs.org/bench.html |
| Buffer | https://beta.docs.nodejs.org/buffer.html |
| C++ addons | https://beta.docs.nodejs.org/addons.html |
| C++ embedder API | https://beta.docs.nodejs.org/embedding.html |
| Child process | https://beta.docs.nodejs.org/child_process.html |
| Cluster | https://beta.docs.nodejs.org/cluster.html |
| Command-line API | https://beta.docs.nodejs.org/cli.html |
| Console | https://beta.docs.nodejs.org/console.html |
| Crypto | https://beta.docs.nodejs.org/crypto.html |
| Debugger | https://beta.docs.nodejs.org/debugger.html |
| Deprecated APIs | https://beta.docs.nodejs.org/deprecations.html |
| Diagnostic report | https://beta.docs.nodejs.org/report.html |
| Diagnostics Channel | https://beta.docs.nodejs.org/diagnostics_channel.html |
| DNS | https://beta.docs.nodejs.org/dns.html |
| Domain | https://beta.docs.nodejs.org/domain.html |
| DTLS | https://beta.docs.nodejs.org/dtls.html |
| Environment Variables | https://beta.docs.nodejs.org/environment_variables.html |
| Errors | https://beta.docs.nodejs.org/errors.html |
| Events | https://beta.docs.nodejs.org/events.html |
| FFI | https://beta.docs.nodejs.org/ffi.html |
| File system | https://beta.docs.nodejs.org/fs.html |
| Global objects | https://beta.docs.nodejs.org/globals.html |
| HTTP | https://beta.docs.nodejs.org/http.html |
| HTTP/2 | https://beta.docs.nodejs.org/http2.html |
| HTTPS | https://beta.docs.nodejs.org/https.html |
| Inspector | https://beta.docs.nodejs.org/inspector.html |
| Internationalization support | https://beta.docs.nodejs.org/intl.html |
| Iterable Streams | https://beta.docs.nodejs.org/stream_iter.html |
| Modules: node:module API | https://beta.docs.nodejs.org/module.html |
| Modules: CommonJS modules | https://beta.docs.nodejs.org/modules.html |
| Modules: ECMAScript modules | https://beta.docs.nodejs.org/esm.html |
| Modules: Packages | https://beta.docs.nodejs.org/packages.html |
| Modules: TypeScript | https://beta.docs.nodejs.org/typescript.html |
| Net | https://beta.docs.nodejs.org/net.html |
| Node-API | https://beta.docs.nodejs.org/n-api.html |
| OS | https://beta.docs.nodejs.org/os.html |
| Path | https://beta.docs.nodejs.org/path.html |
| Performance measurement APIs | https://beta.docs.nodejs.org/perf_hooks.html |
| Permissions | https://beta.docs.nodejs.org/permissions.html |
| Process | https://beta.docs.nodejs.org/process.html |
| Punycode | https://beta.docs.nodejs.org/punycode.html |
| Query string | https://beta.docs.nodejs.org/querystring.html |
| Readline | https://beta.docs.nodejs.org/readline.html |
| REPL | https://beta.docs.nodejs.org/repl.html |
| Single executable applications | https://beta.docs.nodejs.org/single-executable-applications.html |
| SQLite | https://beta.docs.nodejs.org/sqlite.html |
| Stream | https://beta.docs.nodejs.org/stream.html |
| String decoder | https://beta.docs.nodejs.org/string_decoder.html |
| Test runner | https://beta.docs.nodejs.org/test.html |
| Timers | https://beta.docs.nodejs.org/timers.html |
| TLS (SSL) | https://beta.docs.nodejs.org/tls.html |
| Trace events | https://beta.docs.nodejs.org/tracing.html |
| TTY | https://beta.docs.nodejs.org/tty.html |
| UDP/datagram sockets | https://beta.docs.nodejs.org/dgram.html |
| URL | https://beta.docs.nodejs.org/url.html |
| Util | https://beta.docs.nodejs.org/util.html |
| V8 | https://beta.docs.nodejs.org/v8.html |
| Virtual File System | https://beta.docs.nodejs.org/vfs.html |
| VM (executing JavaScript) | https://beta.docs.nodejs.org/vm.html |
| Web Crypto API | https://beta.docs.nodejs.org/webcrypto.html |
| Web Streams API | https://beta.docs.nodejs.org/webstreams.html |
| WebAssembly System Interface (WASI) | https://beta.docs.nodejs.org/wasi.html |
| Worker threads | https://beta.docs.nodejs.org/worker_threads.html |
| Zlib | https://beta.docs.nodejs.org/zlib.html |
| Strict assertion mode | https://beta.docs.nodejs.org/assert.html#strict-assertion-mode |
| Message parameter semantics | https://beta.docs.nodejs.org/assert.html#message-parameter-semantics |
| Legacy assertion mode | https://beta.docs.nodejs.org/assert.html#legacy-assertion-mode |
| assert.AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| new assert.AssertionError | https://beta.docs.nodejs.org/assert.html#new-assertassertionerroroptions |
| assert.Assert | https://beta.docs.nodejs.org/assert.html#class-assertassert |
| new assert.Assert | https://beta.docs.nodejs.org/assert.html#new-assertassertoptions |
| assert | https://beta.docs.nodejs.org/assert.html#assertvalue-message |
| assert.deepEqual | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details |
| assert.deepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-1 |
| assert.doesNotMatch | https://beta.docs.nodejs.org/assert.html#assertdoesnotmatchstring-regexp-message |
| assert.doesNotReject | https://beta.docs.nodejs.org/assert.html#assertdoesnotrejectasyncfn-error-message |
| assert.doesNotThrow | https://beta.docs.nodejs.org/assert.html#assertdoesnotthrowfn-error-message |
| assert.equal | https://beta.docs.nodejs.org/assert.html#assertequalactual-expected-message |
| assert.fail | https://beta.docs.nodejs.org/assert.html#assertfailmessage |
| assert.ifError | https://beta.docs.nodejs.org/assert.html#assertiferrorvalue |
| assert.match | https://beta.docs.nodejs.org/assert.html#assertmatchstring-regexp-message |
| assert.notDeepEqual | https://beta.docs.nodejs.org/assert.html#assertnotdeepequalactual-expected-message |
| assert.notDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotdeepstrictequalactual-expected-message |
| assert.notEqual | https://beta.docs.nodejs.org/assert.html#assertnotequalactual-expected-message |
| assert.notStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotstrictequalactual-expected-message |
| assert.ok | https://beta.docs.nodejs.org/assert.html#assertokvalue-message |
| assert.rejects | https://beta.docs.nodejs.org/assert.html#assertrejectsasyncfn-error-message |
| assert.strictEqual | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| assert.throws | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| assert.partialDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertpartialdeepstrictequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-2 |
| Assert | https://beta.docs.nodejs.org/assert.html#assert |
| lib/assert.js | https://github.com/nodejs/node/blob/main/lib/assert.js |
| Strict assertion mode | https://beta.docs.nodejs.org/assert.html#strict-assertion-mode |
| Exposed as require('node:assert/strict').v15.0.0 | https://github.com/nodejs/node/pull/34001 |
| Changed "strict mode" to "strict assertion mode" and "legacy mode" to "legacy assertion mode" to avoid confusion with the more usual meaning of "strict mode".v13.9.0, v12.16.2 | https://github.com/nodejs/node/pull/31635 |
| Added error diffs to the strict assertion mode.v9.9.0 | https://github.com/nodejs/node/pull/17615 |
| Added strict assertion mode to the assert module.v9.9.0 | https://github.com/nodejs/node/pull/17002 |
| assert.deepEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| Message parameter semantics | https://beta.docs.nodejs.org/assert.html#message-parameter-semantics |
| util.format() | https://beta.docs.nodejs.org/util.html#utilformatformat-args |
| getColorDepth() | https://beta.docs.nodejs.org/tty.html#writestreamgetcolordepthenv |
| Legacy assertion mode | https://beta.docs.nodejs.org/assert.html#legacy-assertion-mode |
| == operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality |
| assert.deepEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| assert.equal() | https://beta.docs.nodejs.org/assert.html#assertequalactual-expected-message |
| assert.notDeepEqual() | https://beta.docs.nodejs.org/assert.html#assertnotdeepequalactual-expected-message |
| assert.notEqual() | https://beta.docs.nodejs.org/assert.html#assertnotequalactual-expected-message |
| assert.deepEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| assert.AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.AssertionError Constructor | https://beta.docs.nodejs.org/assert.html#new-assertassertionerroroptions |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| assert.strictEqual() | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| assert.strictEqual() | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| assert.Assert | https://beta.docs.nodejs.org/assert.html#class-assertassert |
| assert.Assert Constructor | https://beta.docs.nodejs.org/assert.html#new-assertassertoptions |
| Added skipPrototype option.v24.9.0 | https://github.com/nodejs/node/pull/59762 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| assert | https://beta.docs.nodejs.org/assert.html#assertvalue-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.ok() | https://beta.docs.nodejs.org/assert.html#assertokvalue-message |
| assert.deepEqual | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| Promises are not considered equal anymore if they are not of the same instance.v25.0.0 | https://github.com/nodejs/node/pull/59448 |
| Invalid dates are now considered equal.v25.0.0 | https://github.com/nodejs/node/pull/57627 |
| Recursion now stops when either side encounters a circular reference.v24.0.0 | https://github.com/nodejs/node/pull/57622 |
| Error cause and errors properties are now compared as well.v22.2.0, v20.15.0 | https://github.com/nodejs/node/pull/51805 |
| Regular expressions lastIndex property is now compared as well.v18.0.0 | https://github.com/nodejs/node/pull/41020 |
| In Legacy assertion mode, changed status from Deprecated to Legacy.v16.0.0, v14.18.0 | https://github.com/nodejs/node/pull/38113 |
| NaN is now treated as being identical if both sides are NaN.v14.0.0 | https://github.com/nodejs/node/pull/30766 |
| The type tags are now properly compared and there are a couple minor comparison adjustments to make the check less surprising.v12.0.0 | https://github.com/nodejs/node/pull/25008 |
| The Error names and messages are now properly compared.v9.0.0 | https://github.com/nodejs/node/pull/15001 |
| The Set and Map content is also compared.v8.0.0 | https://github.com/nodejs/node/pull/12142 |
| Typed array slices are handled correctly now.v6.4.0, v4.7.1 | https://github.com/nodejs/node/pull/8002 |
| Objects with circular references can be used as inputs now.v6.1.0, v4.5.0 | https://github.com/nodejs/node/pull/6432 |
| Handle non-Uint8Array typed arrays correctly.v5.10.1, v4.4.3 | https://github.com/nodejs/node/pull/5910 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| assert.deepEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details |
| == operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality |
| NaN | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NaN |
| NaN | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NaN |
| Type tags | https://tc39.github.io/ecma262/#sec-object.prototype.tostring |
| enumerable "own" properties | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Enumerability_and_ownership_of_properties |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Object wrappers | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures#primitive_values |
| Map | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map |
| Set | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set |
| [[Prototype]] | https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots |
| Symbol | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type |
| WeakMap | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakMap |
| WeakSet | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakSet |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| == operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.deepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| Message may now be a printf-like format string or function.v25.1.0 | https://github.com/nodejs/node/pull/58849 |
| Promises are not considered equal anymore if they are not of the same instance.v25.0.0 | https://github.com/nodejs/node/pull/59448 |
| Invalid dates are now considered equal.v25.0.0 | https://github.com/nodejs/node/pull/57627 |
| Recursion now stops when either side encounters a circular reference.v24.0.0 | https://github.com/nodejs/node/pull/57622 |
| Error cause and errors properties are now compared as well.v22.2.0, v20.15.0 | https://github.com/nodejs/node/pull/51805 |
| Regular expressions lastIndex property is now compared as well.v18.0.0 | https://github.com/nodejs/node/pull/41020 |
| Enumerable symbol properties are now compared.v9.0.0 | https://github.com/nodejs/node/pull/15169 |
| The NaN is now compared using the SameValueZero comparison.v9.0.0 | https://github.com/nodejs/node/pull/15036 |
| The Error names and messages are now properly compared.v8.5.0 | https://github.com/nodejs/node/pull/15001 |
| The Set and Map content is also compared.v8.0.0 | https://github.com/nodejs/node/pull/12142 |
| Typed array slices are handled correctly now.v6.4.0, v4.7.1 | https://github.com/nodejs/node/pull/8002 |
| Objects with circular references can be used as inputs now.v6.1.0 | https://github.com/nodejs/node/pull/6432 |
| Handle non-Uint8Array typed arrays correctly.v5.10.1, v4.4.3 | https://github.com/nodejs/node/pull/5910 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-1 |
| Object.is() | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| Type tags | https://tc39.github.io/ecma262/#sec-object.prototype.tostring |
| [[Prototype]] | https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots |
| === operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Strict_equality |
| enumerable "own" properties | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Enumerability_and_ownership_of_properties |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Symbol | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type |
| Object wrappers | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures#primitive_values |
| Map | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map |
| Set | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set |
| WeakMap | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakMap |
| WeakSet | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakSet |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.doesNotMatch | https://beta.docs.nodejs.org/assert.html#assertdoesnotmatchstring-regexp-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| This API is no longer experimental.v16.0.0 | https://github.com/nodejs/node/pull/38111 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.doesNotReject | https://beta.docs.nodejs.org/assert.html#assertdoesnotrejectasyncfn-error-message |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| ERR_INVALID_RETURN_VALUE | https://beta.docs.nodejs.org/errors.html#err_invalid_return_value |
| Class | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| assert.throws() | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| assert.doesNotThrow() | https://beta.docs.nodejs.org/assert.html#assertdoesnotthrowfn-error-message |
| assert.doesNotThrow | https://beta.docs.nodejs.org/assert.html#assertdoesnotthrowfn-error-message |
| The message parameter is respected now.v5.11.0, v4.4.5 | https://github.com/nodejs/node/pull/2407 |
| The error parameter can now be an arrow function.v4.2.0 | https://github.com/nodejs/node/pull/3276 |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Class | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| assert.throws() | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| TypeError | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypeError |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.equal | https://beta.docs.nodejs.org/assert.html#assertequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| In Legacy assertion mode, changed status from Deprecated to Legacy.v16.0.0, v14.18.0 | https://github.com/nodejs/node/pull/38113 |
| NaN is now treated as being identical if both sides are NaN.v14.0.0 | https://github.com/nodejs/node/pull/30766 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.strictEqual() | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| assert.strictEqual() | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| == operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.fail | https://beta.docs.nodejs.org/assert.html#assertfailmessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.ifError | https://beta.docs.nodejs.org/assert.html#assertiferrorvalue |
| Instead of throwing the original error it is now wrapped into an [AssertionError][] that contains the full stack trace.v10.0.0 | https://github.com/nodejs/node/pull/18247 |
| Value may now only be undefined or null. Before all falsy values were handled the same as null and did not throw.v10.0.0 | https://github.com/nodejs/node/pull/18247 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| assert.match | https://beta.docs.nodejs.org/assert.html#assertmatchstring-regexp-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| This API is no longer experimental.v16.0.0 | https://github.com/nodejs/node/pull/38111 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.notDeepEqual | https://beta.docs.nodejs.org/assert.html#assertnotdeepequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| In Legacy assertion mode, changed status from Deprecated to Legacy.v16.0.0, v14.18.0 | https://github.com/nodejs/node/pull/38113 |
| NaN is now treated as being identical if both sides are NaN.v14.0.0 | https://github.com/nodejs/node/pull/30766 |
| The Error names and messages are now properly compared.v9.0.0 | https://github.com/nodejs/node/pull/15001 |
| The Set and Map content is also compared.v8.0.0 | https://github.com/nodejs/node/pull/12142 |
| Typed array slices are handled correctly now.v6.4.0, v4.7.1 | https://github.com/nodejs/node/pull/8002 |
| Objects with circular references can be used as inputs now.v6.1.0, v4.5.0 | https://github.com/nodejs/node/pull/6432 |
| Handle non-Uint8Array typed arrays correctly.v5.10.1, v4.4.3 | https://github.com/nodejs/node/pull/5910 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.notDeepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertnotdeepstrictequalactual-expected-message |
| assert.notDeepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertnotdeepstrictequalactual-expected-message |
| assert.deepEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.notDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotdeepstrictequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| The -0 and +0 are not considered equal anymore.v9.0.0 | https://github.com/nodejs/node/pull/15398 |
| The NaN is now compared using the SameValueZero comparison.v9.0.0 | https://github.com/nodejs/node/pull/15036 |
| The Error names and messages are now properly compared.v9.0.0 | https://github.com/nodejs/node/pull/15001 |
| The Set and Map content is also compared.v8.0.0 | https://github.com/nodejs/node/pull/12142 |
| Typed array slices are handled correctly now.v6.4.0, v4.7.1 | https://github.com/nodejs/node/pull/8002 |
| Objects with circular references can be used as inputs now.v6.1.0 | https://github.com/nodejs/node/pull/6432 |
| Handle non-Uint8Array typed arrays correctly.v5.10.1, v4.4.3 | https://github.com/nodejs/node/pull/5910 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.notEqual | https://beta.docs.nodejs.org/assert.html#assertnotequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| In Legacy assertion mode, changed status from Deprecated to Legacy.v16.0.0, v14.18.0 | https://github.com/nodejs/node/pull/38113 |
| NaN is now treated as being identical if both sides are NaN.v14.0.0 | https://github.com/nodejs/node/pull/30766 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.notStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertnotstrictequalactual-expected-message |
| assert.notStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertnotstrictequalactual-expected-message |
| != operator | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.notStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotstrictequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| Used comparison changed from Strict Equality to Object.is().v10.0.0 | https://github.com/nodejs/node/pull/17003 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object.is() | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.ok | https://beta.docs.nodejs.org/assert.html#assertokvalue-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| The assert.ok() (no arguments) will now use a predefined error message.v10.0.0 | https://github.com/nodejs/node/pull/18319 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.rejects | https://beta.docs.nodejs.org/assert.html#assertrejectsasyncfn-error-message |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| ERR_INVALID_RETURN_VALUE | https://beta.docs.nodejs.org/errors.html#err_invalid_return_value |
| assert.throws() | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| Class | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.throws() | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| assert.strictEqual | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| Message may now be a printf-like format string or function.v26.0.0 | https://github.com/nodejs/node/pull/58849 |
| Used comparison changed from Strict Equality to Object.is().v10.0.0 | https://github.com/nodejs/node/pull/17003 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object.is() | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.throws | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| The error parameter can be an object containing regular expressions now.v10.2.0 | https://github.com/nodejs/node/pull/20485 |
| The error parameter can now be an object as well.v9.9.0 | https://github.com/nodejs/node/pull/17584 |
| The error parameter can now be an arrow function.v4.2.0 | https://github.com/nodejs/node/pull/3276 |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Class | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| assert.partialDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertpartialdeepstrictequalactual-expected-message |
| Promises are not considered equal anymore if they are not of the same instance.v25.0.0 | https://github.com/nodejs/node/pull/59448 |
| Invalid dates are now considered equal.v25.0.0 | https://github.com/nodejs/node/pull/57627 |
| partialDeepStrictEqual is now Stable. Previously, it had been Experimental.v24.0.0, v22.17.0 | https://github.com/nodejs/node/pull/57370 |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-2 |
| Object.is() | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is |
| Type tags | https://tc39.github.io/ecma262/#sec-object.prototype.tostring |
| [[Prototype]] | https://tc39.github.io/ecma262/#sec-ordinary-object-internal-methods-and-internal-slots |
| enumerable "own" properties | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Enumerability_and_ownership_of_properties |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Symbol | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type |
| Object wrappers | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Data_structures#primitive_values |
| Map | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map |
| Set | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set |
| WeakMap | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakMap |
| WeakSet | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/WeakSet |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Nextassert.AssertionError | https://beta.docs.nodejs.org/assert/AssertionError.html |
| JSON | https://beta.docs.nodejs.org/assert.json |
| MD | https://beta.docs.nodejs.org/assert.md |
| Edit this page | https://github.com/nodejs/node/edit/HEAD/doc/api/assert.md |
| Strict assertion mode | https://beta.docs.nodejs.org/assert.html#strict-assertion-mode |
| Message parameter semantics | https://beta.docs.nodejs.org/assert.html#message-parameter-semantics |
| Legacy assertion mode | https://beta.docs.nodejs.org/assert.html#legacy-assertion-mode |
| assert.AssertionError | https://beta.docs.nodejs.org/assert.html#class-assertassertionerror |
| new assert.AssertionError | https://beta.docs.nodejs.org/assert.html#new-assertassertionerroroptions |
| assert.Assert | https://beta.docs.nodejs.org/assert.html#class-assertassert |
| new assert.Assert | https://beta.docs.nodejs.org/assert.html#new-assertassertoptions |
| assert | https://beta.docs.nodejs.org/assert.html#assertvalue-message |
| assert.deepEqualL | https://beta.docs.nodejs.org/assert.html#assertdeepequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details |
| assert.deepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-1 |
| assert.doesNotMatch | https://beta.docs.nodejs.org/assert.html#assertdoesnotmatchstring-regexp-message |
| assert.doesNotReject | https://beta.docs.nodejs.org/assert.html#assertdoesnotrejectasyncfn-error-message |
| assert.doesNotThrow | https://beta.docs.nodejs.org/assert.html#assertdoesnotthrowfn-error-message |
| assert.equalL | https://beta.docs.nodejs.org/assert.html#assertequalactual-expected-message |
| assert.fail | https://beta.docs.nodejs.org/assert.html#assertfailmessage |
| assert.ifError | https://beta.docs.nodejs.org/assert.html#assertiferrorvalue |
| assert.match | https://beta.docs.nodejs.org/assert.html#assertmatchstring-regexp-message |
| assert.notDeepEqualL | https://beta.docs.nodejs.org/assert.html#assertnotdeepequalactual-expected-message |
| assert.notDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotdeepstrictequalactual-expected-message |
| assert.notEqualL | https://beta.docs.nodejs.org/assert.html#assertnotequalactual-expected-message |
| assert.notStrictEqual | https://beta.docs.nodejs.org/assert.html#assertnotstrictequalactual-expected-message |
| assert.ok | https://beta.docs.nodejs.org/assert.html#assertokvalue-message |
| assert.rejects | https://beta.docs.nodejs.org/assert.html#assertrejectsasyncfn-error-message |
| assert.strictEqual | https://beta.docs.nodejs.org/assert.html#assertstrictequalactual-expected-message |
| assert.throws | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| assert.partialDeepStrictEqual | https://beta.docs.nodejs.org/assert.html#assertpartialdeepstrictequalactual-expected-message |
| Comparison details | https://beta.docs.nodejs.org/assert.html#comparison-details-2 |