JavaScript 支持情况 运行限制 基于安全考虑,微信小程序中不支持动态执行 JS 代码,即: 不支持使用 eval 执行 JS 代码 不支持使用 new Function 创建函数 new Function('return this') 除外