josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

#1.905 geöffnet am 3. Juli 2020

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (13.832 Stars) (1.298 Forks)batch import
bughelp wanted

Beschreibung

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