Turn function in a function into an arrowfunction

Yeah console log doesn’t do anything to your program, it doesn’t affect anything, that’s the point of it: it’s just for inspecting what’s happening at a certain point in your program. To return a value from a function, you have to return a value

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.