Caniuse: console.assert(boolean_expression)

Created on 13 Jul 2016  路  2Comments  路  Source: Fyrd/caniuse

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.

Support data suggestion

Most helpful comment

+1
Now I think there is a specification here in the Console
Living Standard

All 2 comments

+1
Now I think there is a specification here in the Console
Living Standard

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

greigs picture greigs  路  3Comments

madebyfabian picture madebyfabian  路  3Comments

Malvoz picture Malvoz  路  3Comments

Fyrd picture Fyrd  路  3Comments

zackarychapple picture zackarychapple  路  3Comments