Files
node/doc/api
chocolateboy dadd6e1688 util: use a shared symbol for util.inspect.custom
Define `util.inspect.custom` as
`Symbol.for("nodejs.util.inspect.custom")` rather than
`Symbol("util.inspect.custom")`. This allows `inspect` hooks to
easily/safely be defined in non-Node.js environments.

Fixes: https://github.com/nodejs/node/issues/20821
Refs: https://github.com/nodejs/node/pull/22684

PR-URL: https://github.com/nodejs/node/pull/20857
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
2018-09-15 13:15:15 +02:00
..
2018-09-07 22:42:08 +01:00
2018-09-02 18:14:23 +02:00
2018-09-14 20:52:36 +02:00
2018-07-15 23:57:35 +03:00
2018-09-13 18:39:55 +03:00
2018-07-14 22:57:03 +03:00
2018-09-12 22:37:42 -04:00
2018-09-06 23:57:43 +02:00
2018-07-14 22:57:03 +03:00
2018-05-02 06:17:08 +03:00
2018-07-14 22:57:03 +03:00
2018-07-15 23:57:35 +03:00
2018-09-07 16:55:44 -07:00
2018-09-03 17:47:28 +03:00
2018-09-06 23:57:43 +02:00