[ https://issues.apache.org/jira/browse/JEXL-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532652#comment-17532652 ]
Dmitri Blinov edited comment on JEXL-369 at 5/6/22 8:43 AM: ------------------------------------------------------------ In JS they allowed redefinition with let/const, ie {code:java} const pi = 3.1415 { // I know better let pi = 3.2 // or may be it's even not a constant after all pi = pi + 0.1 }{code} You don’t want to do this with JEXL with introduction of let, right? was (Author: dmitri_blinov): In JS they allowed redefinition with let/const, ie {code:java} const pi = 3.1415 { // I know better let pi = 3.2 // or may be pi = pi + 0.1 }{code} You don’t want to do this with JEXL with introduction of let, right? > 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)