Expand description
node:util.
Rendering (format, formatWithOptions, inspect) runs through the
one Inspector the console global uses,
so a value prints the same wherever it is printed.
The wrappers (promisify, callbackify, deprecate) hold their target
through Function.prototype.bind rather than a Rust closure: a native
closure that captured a JS value would form a GC cycle the runtime
cannot trace, which aborts at teardown.
Constants§
- UTIL_
MEMBERS - The names
util_objectsets, for a module’s export list.
Functions§
- util_
object - Every
utilexport on one object, for both the ES module and therequirenamespace.