1 var obj = { 2 1:'你好1', 3 2:'你好2', 4 3:'你好3' 5 } 6 var e = obj[1]; 7 e; //'你好1' 转载于:https://www.cnblogs.com/1032473245jing/p/9184034.html