用Function来解析字符串

data=(new Function("console.log('dsfsf')"))()

posted on 2016-11-28 15:08  1883808  阅读(94)  评论(0)    收藏  举报