JavaScript JavaScript and the DOM Getting a Handle on the DOM A Simple Example

Is the function considered a lambda function?

When writing the arrow function, Guil wrote () => without declaring a variable. Is this considered as a lambda function?

1 Answer

Steven Parker
Steven Parker
203,115 Points

It doesn't matter if it takes an argument or not, a function is considered a lambda when it is anonymous (as this one is),