bee.js icon indicating copy to clipboard operation
bee.js copied to clipboard

四则运算检查isArithmeticExpression和calculate方法参数可执行js脚本

Open Red63 opened this issue 7 years ago • 2 comments

比如: var expression = "alert('haha')"; Bee.ElementaryArithmeticUtils.isArithmeticExpression(expression); Bee.ElementaryArithmeticUtils.calculate(expression);

eval(expression)不能用于检查四则运算

Red63 avatar Apr 17 '18 02:04 Red63

多谢提出来,我看看

shadowOfCode avatar Aug 24 '18 14:08 shadowOfCode

已经改好了

shadowOfCode avatar Sep 20 '18 09:09 shadowOfCode