console.log
概述
向 Web 控制台输出一条消息。
语法
console.log(obj1 [, obj2, ..., objN]); console.log(msg [, subst1, ..., substN]); console.log('String: %s, Int: %d,Float: %f, Object: %o', str, ints, floats, obj) console.log(`temp的值为: ${temp}`)
参数
浏览器兼容性
BCD tables only load in the browser
规范
不属于任何公开的规范