The Mesh Engine should be able to parse anonymous functions (i.e.: function literals, "lambdas"). Moreover, expressions containing variable bindings to anonymous functions should also be successfully parsed.
Syntax:
(ARGS) => BODY // Anonymous function
let VAR = (ARGS) => BODY // Named function (i.e.: bound anonymous function)
Examples:
(a) => a + 1
() => "hello"
(a, b, c) => a
let f = (a) => a + 1
Description
The Mesh Engine should be able to parse anonymous functions (i.e.: function literals, "lambdas"). Moreover, expressions containing variable bindings to anonymous functions should also be successfully parsed.
Syntax:
Examples: