josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

#1905 opened on Jul 3, 2020

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (13,832 stars) (1,298 forks)batch import
bughelp wanted

Description

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.

Contributor guide