This course is out of date and does not reflect our standards or industry best practices. We now recommend you take the Complete Intro to Web Development, v3 course.

Check out a free preview of the full Introduction to JavaScript and jQuery course:
The "Named and Anonymous Functions" Lesson is part of the full, Introduction to JavaScript and jQuery course featured in this preview video. Here's what you'd learn in this lesson:

Returning functions (multiplication example) Named vs. Anonymous functions List of uses for anonymous functions and code example using named function vs. anonymous in as a callback Audience asks, “Do elements have a .ready?” Karl says “no” but explains about load Using immediately invoked function expressions (aka IFFE pronounced “iffy”) for protecting variable scope Using anonymous functions as a callback

Get Unlimited Access Now