console.dir()的用法

在控制台显示指定javascript对象的属性。

打印出该对象的所有属性和属性值.

猜你喜欢

转载自blog.csdn.net/sinat_41696687/article/details/113845614