标签:nan undefined rip mat col new 函数 元素 null
<script> var i; var myCars = new Array(); var myCars1 = new Array("a","b","c"); var myCars2 = new Array("z","y","w"); myCars[0] = "Benz"; myCars[1] = "BMW"; myCars[2] = "Audi"; for(i = 0; i < myCars.length; i ++){ document.write(myCars[i]+"<br/>"+myCars1[i]+"<br/>"+myCars2[i]+"<br/>"); } </script>
如果布尔对象的初始值为以下,则它是false:
13 JavaScript Array对象&Boolean对象&Math对象
标签:nan undefined rip mat col new 函数 元素 null
原文地址:https://www.cnblogs.com/ltfxy/p/11651262.html