Turn on ECMAScript 2021 (ES12) mode - Xanadu

pramodkumar
Tera Expert

Hi All,

After upgrading to Xanadu, we see "Turn on ECMAScript 2021 (ES12) mode "  in all scripts. It is turned off by default on all scripts.  Is it fine to leave all existing scripts turn off this mode?

Can someone explain with an example of how this Turn on ECMAScript 2021 (ES12) mode works?