ForNext
Only Do What Only You Can Do
102. lambda declaration
Hyperpolyglot Interpreted Languages: Tcl, Lua, JavaScript, Io より (2012.05.08)
JavaScript
sqr = function(x) { return x*x; }
Lua
sqr = function(x) return x*x end
Io
all functions are lambdas: sqr := block(x, x*x)