function f(y) { if (arguments.length != 1) { throw new SyntaxError("Wrong number of arguments in function f (" + arguments.length + " provided, 1 expected)"); } return y }
This is output if you change the graphing function f(x) to another variable f(y). Numbers and symbols output the correct, right column, formatted error handling but letters, with the exception of x, output the actual code.
function f(y) { if (arguments.length != 1) { throw new SyntaxError("Wrong number of arguments in function f (" + arguments.length + " provided, 1 expected)"); } return y }
This is output if you change the graphing function f(x) to another variable f(y). Numbers and symbols output the correct, right column, formatted error handling but letters, with the exception of x, output the actual code.