阅读背景:

解析函数字符串时的JavaScript eval()“语法错误”

来源:互联网 

I have a bit of JavaScript code that is specified in a configuration file on the server-side. Since I can't specify a JavaScript function in the configuration language (Lua), I have it as a string. The server returns the string in some JSON and I have the client interpret it using a clean-up function:I have a bit of JavaScript code that is specifi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: