diff options
author | iandrc <hao8@protonmail.com> | 2020-07-24 01:58:35 +0300 |
---|---|---|
committer | himself65 <himself65@outlook.com> | 2020-07-28 23:40:43 +0800 |
commit | 4cee226eb41f2c2e3c71800facc0cbaa2f06ecb5 (patch) | |
tree | 6ce45cc847c47b8c4c5f3779175e437cab45e229 /SECURITY.md | |
parent | 8598ab8976c0a6ace6eea0857aa093c0e95c6eec (diff) | |
download | node-new-4cee226eb41f2c2e3c71800facc0cbaa2f06ecb5.tar.gz |
console: document the behavior of console.assert()
Add a description and an example of console.assert() call with
no arguments. If called like this, the method should output:
"Assertion failed".
Fixes: https://github.com/nodejs/node/issues/34500
Refs: https://nodejs.org/dist/latest-v14.x/docs/api/console.html#console_console_assert_value_message
Refs: https://console.spec.whatwg.org/#assert
PR-URL: https://github.com/nodejs/node/pull/34501
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions