Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var noError = true;
- console.assert(noError,'There is an Error','in the code block');
- //Output
- noError = false;
- console.assert(noError,'There is an Error','in the code block');
- //Output
- Assertion failed: There is an Error in the code block
Add Comment
Please, Sign In to add comment