Files
node/doc
Ruben Bridgewater 5518664d41 util: if present, fallback to toString using the %s formatter
This makes sure that `util.format` uses `String` to stringify an object
in case the object has an own property named `toString` with type
`function`. That way objects that do not have such function are still
inspected using `util.inspect` and the old behavior is preserved as
well.

PR-URL: https://github.com/nodejs/node/pull/27621
Refs: https://github.com/facebook/jest/issues/8443
Reviewed-By: Roman Reiss <me@silverwind.io>
2019-05-20 14:18:18 +02:00
..
2019-04-15 18:58:52 +02:00
2019-03-09 22:25:19 -08:00
2019-02-19 19:17:12 -08:00
2018-10-04 07:18:23 +02:00