I'm trying to test my javascript code in jxBrowser. Using console.assert
does not generate any errors, but also does not generate any output. I'm catching console.log
messages fine. Is there any way to get console.assert
messages?
Thanks
I'm trying to test my javascript code in jxBrowser. Using console.assert
does not generate any errors, but also does not generate any output. I'm catching console.log
messages fine. Is there any way to get console.assert
messages?
Thanks
如果console.assert()
断言是 ,则将错误消息写入控制台false
。如果断言是true
,则什么也不会发生。请确保您的断言是false
.