字符串转到js对象

 var obj = (new Function("return " + str))();

 

posted on 2014-01-05 16:10  iackjee  阅读(125)  评论(0编辑  收藏  举报

导航