那这样写对吗?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>二维数组</title>
<script type="text/javascript">
var mynum=[[1,2,3][1,2,3,4,5,6]]=6*21;
</script>
</head>
<body>
</body>
</html>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>二维数组</title>
<script type="text/javascript">
var mynum=[[1,2,3][1,2,3,4,5,6]]=6*21;
</script>
</head>
<body>
</body>
</html>
2019-02-26
举报