...

/

Anonymous Functions

Anonymous Functions

You will receive an introduction to anonymous functions in this lesson.

Anonymous functions: Definition

The code can be more readable and concise when short functions are defined without traditional function definitions.

Anonymous functions, which are also known as function literals or lambdas, allow us to define functions inside of expressions. Anonymous functions can be used at any point where a function pointer can be used.

We will get to their shorter ...