I could like to have a kind of rust edition for JavaScript.<p>You could opt in to an edition by adding a JavaScript directive at the start of the file — like the "use strict" directive. e.g.<p><pre><code> ```js
"use edition2023"
```
</code></pre>
This could enable to remove obsolete features and improve strictness.<p>EDIT: I forgot the "use" before "strict".