Skip to content

console.assert(boolean_expression) #2640

@BobStein

Description

@BobStein

Works in Chrome 51 and Firefox 47. How universal is it? What will it break?

MDN says don't use:

This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

There are smart ways to work around not having console, nor not having console.assert.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions