josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

#1 905 ouverte le 3 juil. 2020

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)JavaScript (1 298 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (13 832 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur