The variable for adding custom functions to the Chalkboard parsers.
Example
// Doesn't work consttwentyfour = Chalkboard.real.parse("Math.factorial(4)");
// Does work Chalkboard.PARSEPREFIX = "Math.factorial = function(num) { let n = 1; for (var i = 1; i <= num; i++) { n *= i; } i--; return n; };"; consttwentyfour = Chalkboard.real.parse("Math.factorial(4)");
The variable for adding custom functions to the Chalkboard parsers.