Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-127

Allow the creation of functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • 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.

      Attachments

        Activity

          People

            henrib Henri Biestro
            henrib Henri Biestro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: