<script>
var obj = {};
console.log(obj);
var obj2 = [];
console.log(obj2);
var obj3;
console.log(obj3);
</script>
打印如下:
Object
Array[0]
undefined
时间: 2024-10-05 04:13:22
<script>
var obj = {};
console.log(obj);
var obj2 = [];
console.log(obj2);
var obj3;
console.log(obj3);
</script>
打印如下:
Object
Array[0]
undefined