<html>
<head>
<title></title>
<script language="javascript">
var arr=[[0,1],[2,3]];
alert(arr[0][1]);
alert(arr[0,1]);
alert(arr[1]);
alert([1]);
alert([5]);
</script>
</head>
<body>
</body>
</html>
看完后不放先写出结果。<head>
<title></title>
<script language="javascript">
var arr=[[0,1],[2,3]];
alert(arr[0][1]);
alert(arr[0,1]);
alert(arr[1]);
alert([1]);
alert([5]);
</script>
</head>
<body>
</body>
</html>
结果