josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open

#1.905 aberto em 3 de jul. de 2020

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (1.298 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (13.832 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador