<script>
var obj = {};
console.log(obj);
var obj2 = [];
console.log(obj2);
var obj3;
console.log(obj3);
</script>
打印如下:
Object
Array[0]
undefined
时间: 2024-12-07 20:01:47
<script>
var obj = {};
console.log(obj);
var obj2 = [];
console.log(obj2);
var obj3;
console.log(obj3);
</script>
打印如下:
Object
Array[0]
undefined