anonymous function in JavaScript

An anonymous function can be assigned to a variable. It can also be passed as an argument to another function.