📜  控制台消息检查器 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:29.408000             🧑  作者: Mango

代码示例1
console.log()         // outputs a message to the web console
console.assert()     // writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
console.table()        // displays tabular data as a table.
console.info()        // outputs an informational message to the Web console.
console.error()        // outputs an error message to the Web console.