This refactors the code by using arrow functions, const instead of let where possible, clearing the timeout and indicators for private class variables. Also it removes unnecessary variable declarations and sets some more spacing for code readability.
This refactors the code by using arrow functions, const instead of let where possible, clearing the timeout and indicators for private class variables. Also it removes unnecessary variable declarations and sets some more spacing for code readability.