代码编辑器:
x
1
2
<html>
3
<head>
4
<meta charset="utf-8">
5
<title>简单教程( www.twle.cn )</title>
6
</head>
7
<body>
8
9
<p>使用中括号([])来修改 JSON 对象的值</p>
10
11
<p id="demo"></p>
12
13
<script>
14
var myObj, i, x = "";
15
myObj = {
16
"name":"twle",
17
"alexa":100000,
18
"sites": {