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.
我正在尝试将变量存储为
e.put("a",3); e.put("a-gamma",4); eval("a+a-gamma");
但在评估时,它会抛出 gamma 未在变量中定义的异常。有什么解决办法吗?. 我被困住了!