Does this help? Functions stored in variables do not need function names. They are always invoked (called) using the variable name. The function above ends with a semicolon because it is a part of an executable statement.
I don't know anything about js yet , that's the top google return
thx. problem is variable in function with value defined [apparently] after the code I am supposed to write. None of this was discussed inywhere in any lesson and nothing I find approaches the nesting and operation process in the challenge.
This is one of the rearly Javaq script challenges in freecodecourse