js 动态取 obj 的值

var a={c:1,b:2};

var key = "b";

a[key]=2

obj[key]

原文地址:https://www.cnblogs.com/qianduanxiaocaij/p/5337172.html