console.assert(1 === 1, 'Math works') // no output
console.assert(1 === 2, 'This fails') // β Assertion failed: This failsconsole.assert() logs an error message only when the condition is falsy.
console.assert(assertion, message) logs a message to console if the assertion is false. If the assertion is true, nothing happens.
Challenge: Verify that console.assert is a function.