1

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

4

1 回答 1

1

如果console.assert()断言是 ,则将错误消息写入控制台false。如果断言是true,则什么也不会发生。请确保您的断言是false.

于 2016-09-05T08:08:10.513 回答