打印变量类型 #

Object.prototype.toString.call()

打印对象 #

// 原因:直接输出对象可能不准确
console.log(JSON.parse(JSON.stringify(obj)))

输出对象