属性绑定 <script> var stu = new Object(); var aaa= "age"; //对象名.属性 stu.name = "大壮"; //对象名[属性] 对象名[值] stu[aaa] =20 ; stu[0] = "你好"; </script>