Unverified Commit a9bf6652 authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

util: use minimal object inspection with %s specifier

This improves `util.format()` by returning more meaningful results
when using `%s` as specifier and any object as value. Besides that
`BigInt` will also be represented with an `n` at the end to indicate
that it's of type `BigInt`.

PR-URL: https://github.com/nodejs/node/pull/26927


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarYongsheng Zhang <zyszys98@gmail.com>
parent adbcda1e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment