Parses a string of JavaScript code.
// Creates a function that computes a complex operationconst f = Chalkboard.comp.parse("(a, b) => a*a - b*b"); Copy
// Creates a function that computes a complex operationconst f = Chalkboard.comp.parse("(a, b) => a*a - b*b");
The string
Parses a string of JavaScript code.
Example