User tests: Successful: Unsuccessful:
changed "var" initializers to "let"
Install the 4.0-dev
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Repository |
This script was intentionally ES5, please leave it like that
I have tested this item
According to the last comment (https://issues.joomla.org/tracker/joomla-cms/26859#event-485031), this is not an issue and it can be closed.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-11-03 21:48:06 |
Closed_By | ⇒ | Quy |
Only use
let
if the variable is reassigned, otherwise useconst