如何将消息打印到错误控制台,最好包含变量?
例如:
print('x=%d', x);
最佳答案
安装 Firebug然后你可以使用console.log(...)
和 console.debug(...)
等(参见 the documentation 了解更多信息)。
关于JavaScript:如何将消息打印到错误控制台?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/164397/