凤眠

先行后知,知行合一

导航

var obj = {};var obj2 = [];var obj3;

Posted on 2015-03-14 18:57  凤眠  阅读(765)  评论(0编辑  收藏  举报

<script>
var obj = {};
console.log(obj);

var obj2 = [];
console.log(obj2);

var obj3;
console.log(obj3);
</script>

打印如下:

Object

Array[0]

undefined