I came across anonymous functions. The docs show some examples like one line expressions or blocks in a function. But I can’t seem to wrap my head around how does anonymous functions get referenced?
k
Kirill Grouchnikov
10/28/2022, 7:41 PM
You can pass them as arguments to another function or return them. You can also assign an anonymous function to a global or a local variable, and that would be the “reference” to it