Implement Console.assert.