Letti42Lvl 6
- Edited
- Windows
That's cool and all but almost nothing in that is regarded as ES6.. all you did was use ES5 identical code and added a single variable with const (which in this context, I don't think should it should be declared using const). Plus, you aren't using arrow function properly. You don't need to add the parameter in the callback, and curly brackets aren't needed for code that's only one line long.
"If you don't understand just dont worry about it."
Im not even going to explain why this is such a bad statement to say...