josdejong / josdejong/mathjs

Evaluating 'help(not)' throws SyntaxError

Open
#1,905 7 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
15.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

For some reason, evaluating `help(not)` throws an error. For example:

```js
// Works fine
console.log(math.evaluate('help(and)'));

// "SyntaxError: Value expected (char 9)"
console.log(math.evaluate('help(not)'));
```

Please see this [jsfiddle](https://jsfiddle.net/aq6jygbk/) example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.