Why start with anonymous functions instead of regular function declaration?

I know a little about JavaScript already, looking at this site to help me improve. Why does the Functions Section start off with assigning variables an anonymous function instead of just declaring functions normally? Wouldn’t normal function creation be simpler?

Here is an article that may help explain things…


As for the courses, that is all author preference and on the scale we are working at makes no difference.


Thanks, that answered my question well.

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