0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc
Anna Henningsen 59714cb7b3
util: allow symbol-based custom inspection methods
Add a `util.inspect.custom` Symbol which can be used to customize
`util.inspect()` output. Providing `obj[util.inspect.custom]`
works like providing `obj.inspect`, except that the former allows
avoiding name clashes with other `inspect()` methods.

Fixes: https://github.com/nodejs/node/issues/8071
PR-URL: https://github.com/nodejs/node/pull/8174
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
2016-08-25 07:13:00 +02:00
..
api util: allow symbol-based custom inspection methods 2016-08-25 07:13:00 +02:00
api_assets doc: make the api doc print-friendly 2016-05-23 12:26:21 +02:00
changelogs 2016-08-15, Version 4.5.0 'Argon' (LTS) 2016-08-16 12:09:23 -04:00
ctc-meetings doc: add CTC meeting minutes 2016-08-03 2016-08-08 08:58:03 -07:00
guides doc: various documentation formatting fixes 2016-07-14 12:26:50 +03:00
topics doc: various documentation formatting fixes 2016-07-14 12:26:50 +03:00
tsc-meetings doc: various documentation formatting fixes 2016-07-14 12:26:50 +03:00
full-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00
node.1 tty: set the handle to blocking mode 2016-08-10 23:41:28 +02:00
onboarding-extras.md doc: various documentation formatting fixes 2016-07-14 12:26:50 +03:00
onboarding.md doc: update Reviewing section of onboarding doc 2016-08-15 22:08:52 -07:00
osx_installer_logo.png build: update Node.js logo on OSX installer 2016-02-27 16:49:56 +11:00
releases.md doc: update release announce instruction to tweet 2016-08-18 09:48:32 -07:00
template.html doctool: improve the title of pages in doc 2016-08-04 12:17:58 -07:00
thin-white-stripe.jpg build: update Node.js logo on Win installer 2016-03-06 20:22:36 -06:00