summaryrefslogtreecommitdiff
path: root/SECURITY.md
diff options
context:
space:
mode:
authoriandrc <hao8@protonmail.com>2020-07-24 01:58:35 +0300
committerhimself65 <himself65@outlook.com>2020-07-28 23:40:43 +0800
commit4cee226eb41f2c2e3c71800facc0cbaa2f06ecb5 (patch)
tree6ce45cc847c47b8c4c5f3779175e437cab45e229 /SECURITY.md
parent8598ab8976c0a6ace6eea0857aa093c0e95c6eec (diff)
downloadnode-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