Files
node/lib
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-05-18 19:46:55 -07:00
2019-05-05 14:44:21 -07:00
2019-04-30 06:37:55 -07:00
2019-04-18 05:32:10 +02:00
2019-04-29 20:46:53 +08:00
2019-05-20 11:09:02 +02:00