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.assert(boolean_expression) #2640

Open
BobStein opened this issue Jul 13, 2016 · 3 comments
Open

console.assert(boolean_expression) #2640

BobStein opened this issue Jul 13, 2016 · 3 comments

Comments

@BobStein
Copy link

@BobStein BobStein commented Jul 13, 2016

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.

@garrik
Copy link

@garrik garrik commented Oct 19, 2017

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

@Flimm
Copy link

@Flimm Flimm commented Oct 4, 2018

+1

@GPHemsley
Copy link

@GPHemsley GPHemsley commented Jan 17, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants