<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<style>
span{
color: red;
}
</style>
<script>
var json={name:'leo',age:32};
/*var imgData={
url:['img/1.png','img/2.png','img/3.png','img/4.png'];
text:['图片1','图片2','图片3','图片4'];
}*/
var arr=[{'name':'tm','age':23},{'name':'leo','age':32}];
alert(arr[0].name+'a'+arr[1]['age']);
</script>
</head>
<body>
</body>
</html>