josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

#1,905 建立於 2020年7月3日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)JavaScript (13,832 star) (1,298 fork)batch import
bughelp wanted

描述

For some reason, evaluating help(not) throws an error. For example:

// Works fine
console.log(math.evaluate('help(and)'));

// "SyntaxError: Value expected (char 9)"
console.log(math.evaluate('help(not)'));

Please see this jsfiddle example.

貢獻者指南

Evaluating 'help(not)' throws SyntaxError · josdejong/mathjs#1905 | Good First Issue