标签:
var arr=[{"key":"庄,8,3,5"},{"key":"闲,7,7,7"},{"key":"庄,6,3,8"},{"key":"闲,1,2,4"},{"key":"庄,5,5,5"},{"key":"闲,9,9,9"}]; for(i in arr) { var val = arr[i][‘key‘].split(‘,‘); console.log(val) }
标签:
原文地址:http://www.cnblogs.com/yanwen2015/p/4701935.html