About Lesson
Anonymous Functions
Functions without a name are called anonymous functions. They are often used as arguments in other functions.
Example:
JavaScript
setTimeout(function() {
console.log("This runs after 1 second");
}, 1000);