assert
The console.assert() static method writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
The console.assert() static method writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.