You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 when you change the x in f(x) to any other letter. the correct error message should be "invalid left hand side of assignment operator =".
The text was updated successfully, but these errors were encountered:
phoenix14113
changed the title
calculate activity grapohing function outputs the incorrect error message if variable is changed
calculate activity graphing function outputs the incorrect error message if variable is changed
May 5, 2020
llaske
changed the title
calculate activity graphing function outputs the incorrect error message if variable is changed
calculate activity outputs the incorrect error message if variable is changed in function
May 5, 2020
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 when you change the x in f(x) to any other letter. the correct error message should be "invalid left hand side of assignment operator =".
The text was updated successfully, but these errors were encountered: