node/lib/internal/assert
Ruben Bridgewater d3f79aa65d
assert: allow printf-style messages as assertion error
Also add functions as allowed message input.
This allows to have leavy message computation to become cheaper.

PR-URL: https://github.com/nodejs/node/pull/58849
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2025-10-17 20:15:17 +00:00
..
assertion_error.js lib: restructure assert to become a class 2025-08-05 14:15:02 +00:00
myers_diff.js assert: cap input size in myersDiff to avoid Int32Array overflow 2025-09-09 00:36:14 +00:00
utils.js assert: allow printf-style messages as assertion error 2025-10-17 20:15:17 +00:00