--disallow-code-generation-from-strings
使从字符串生成代码的 eval
和 new Function
等内置语言功能抛出异常。
这不会影响 Node.js vm
模块。
Make built-in language features like eval
and new Function
that generate
code from strings throw an exception instead. This does not affect the Node.js
vm
module.