josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

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

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

倉庫指標

Star
 (13,832 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南