说明:表达式计算器
任务
您的任务是实现函数,该函数将为任何数学表达式计算结果。 在src/index.js编写您的解决方案
不要使用Function constructor和eval
输入:字符串,包含( , ) , + , - , *和/以及space 。 托架可以有任何插入深度输出:表达式的值(数字)
准备和测试
安装
克隆此存储库: https://github.com/romacher/expression-calculator.git : https://github.com/roma
<weixin_42116805> 上传 | 大小:7kb