Guest User

Untitled

a guest
Jan 19th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var noError = true;
  2. console.assert(noError,'There is an Error','in the code block');
  3. //Output
  4.  
  5.  
  6. noError = false;
  7. console.assert(noError,'There is an Error','in the code block');
  8. //Output
  9. Assertion failed: There is an Error in the code block
Add Comment
Please, Sign In to add comment