Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console: document the behavior of console.assert() #34501

Closed
wants to merge 1 commit into from
Closed

console: document the behavior of console.assert() #34501

wants to merge 1 commit into from

Commits on Jul 24, 2020

  1. 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: #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
    iandrc committed Jul 24, 2020
    Configuration menu
    Copy the full SHA
    96679f6 View commit details
    Browse the repository at this point in the history