<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<input type="button" name="" id="btn" value="按钮" />
<input type="button" name="btn1" id="btn1" value="按钮" />
<script type="text/javascript">
var Jsan = {
‘arr‘: [1, 2, 3, 4, 56, 7, 8, 9],
‘jasn1‘: {
‘a‘: ‘456456456‘
}
}
alert(Jsan[‘arr‘][3]);
alert(Jsan.arr[3])
</script>
</body>
</html>
时间: 2024-09-29 14:42:20