稍微看了一下 math.js 的文件
https://mathjs.org/docs/expressions/parsing.html
evaluate() 裡面要傳的參數是 scope 而不是 equation 吧
evaluate()
感覺這邊用法就錯了,從這邊除錯試試看
每週二晚上《CodeLove Talk》直播! 開放觀眾 Call-in,一起討論軟體開發相關的話題!
稍微看了一下 math.js 的文件
https://mathjs.org/docs/expressions/parsing.html
evaluate()
裡面要傳的參數是 scope 而不是 equation 吧感覺這邊用法就錯了,從這邊除錯試試看