Problem/Motivation
In the issue #2916154: JS codestyle: no-multi-assign it came up that we could simplify some code by using this. or Drupal.states.
instead of introducing a local variable like const states, see #2916154-24: JS codestyle: no-multi-assign for example
Proposed resolution
Adapt those points.
Comments
Comment #2
dawehnerComment #14
smustgrave commentedThank you for creating this issue to improve Drupal.
We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.
Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.
Thanks!