ESLint is unhappy seeing all those var and new Array.
Also, minutes < 10 ? '0'+minutes : minutes could be written as minutes.toString().padStart(2,'0').
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
ESLint is unhappy seeing all those
varandnew Array.Also,
minutes < 10 ? '0'+minutes : minutescould be written asminutes.toString().padStart(2,'0').