At the moment I do a course about JavaScript on codecademy.
Now I got to a task where i need to create a function in a variable. Can anyone explain to me why i can do functions in a variable?
I don't know why I should be able to do this. After all I can call the function with it's own name.
Big thanks for every helpful answer!