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