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

Is the function considered a lambda function?

https://teamtreehouse.com/library/a-simple-example

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

1 Answer

Steven Parker
Steven Parker
171,242 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),