var myObj = [ {"name":"网站"}, {"num":3}, {"sites":[ "Google", "Runoob", "Taobao" ]}]myObj[0].name='网站';