expr-eval
expr-eval copied to clipboard
How to use expr-eval in an ES6 component on the browser
I'm trying to develop my project using expr-eval locally and have put it into a GitHub repository as well. I'm getting an error saying that exprEval is undefined.
I tried importing and using it like this:
import exprEval from "expr-eval";
...
const parser = new exprEval.Parser();
But I'm getting an error saying it's undefined.
I'm not getting the error anymore.