小任班长的博客 - js动态参数作为Object的属性取值 的评论
js动态参数作为Object的属性取值var myObj = {"a":1,"b":2};var a = 'a';myObj[a] 就...