Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Node.js util.format('%s') breaking change bug
The documentation says that util.format('%s', obj) will call String(obj) iff obj has a user-defined .toString method, but in v12.12.0 it only calls String(obj) if either obj or obj.constructor.prototype has an own property named toString, causing inherited toString implementations to be ignored. Submitted as nodejs/node#30333
- Loading branch information