[ 
https://issues.apache.org/jira/browse/JEXL-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532272#comment-17532272
 ] 

Henri Biestro commented on JEXL-369:
------------------------------------

I like the idea of restricting the let/const constructs the same way other 
language restrict them. (y)

The intent is to let (no pun intended) our users migrate kindly from the old 
'var' semantic to the feature-enable lexical scope semantic ( JEXL-307 / 
JexlFeature.{lexical,lexicalShade}() ).

Not sure how our current lexical scope semantic differs from JS though.

> Add 'let' and 'const' variable declarations
> -------------------------------------------
>
>                 Key: JEXL-369
>                 URL: https://issues.apache.org/jira/browse/JEXL-369
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.2.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.3
>
>
> WHAT:
> Add creation of lexical scope variables, modifiable with 'let', 
> non-modifiable through 'const'.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to