Function is reserved word


I am using javascript (made my file .js when creating) and everything works fine except for function.

square = function(x) {
  return x+3

Yet whenever I reload a red error message says reserved word “function”


You’ll have to give a little more context for people to be able to help you. What is it you’re trying to do?


Closing this topic since you say that your newest topic supersedes this one:

closed #4