Anonymous function: Difference between revisions

Content deleted Content added
List of languages: Added alt text for Lisp
Examples: Added Lisp example
Line 51:
 
Unlike python, anonymous functions in JavaScript are just like named functions and are declared just like named functions.
 
===List===
[[Lisp (programming language)|Lisp]] supports anonymous functions.
<source lang="list">
(lambda (arg) (* arg arg))
</source>
 
===Python===