Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
As script get richer, being able to create functions is a strong need.
This only requires adding a new keyword ('function') and the syntax would be: var fn = function(x, y, z)
.
It would be nice to allow those to behave as closures (thru local variable hoistering).
This will bring JEXL closer to ECMAScript in functionality.