Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找与 Python / PHP / etc. 的eval()函数等效的 Actionscript,它可以从任意字符串动态执行代码。
eval()
没有本机eval()功能。我只看到一个技巧:在运行时创建一个字节码并加载它。如果你真的需要它,有一些很酷的库可以为你做: