10 lines
147 B
JavaScript
10 lines
147 B
JavaScript
const math = require("mathjs");
|
|
|
|
function parseMath(f) {
|
|
return JSON.parse(JSON.stringify(math.parse(f)));
|
|
}
|
|
|
|
module.exports = {
|
|
parseMath,
|
|
};
|