Let and const are useful, but when people say var should never be used, I immediately start to question if they have done any interesting development in JS.
Additionally, for beginners, I would argue that using var forces people to deal with unexpected behaviors which is a useful method for actually learning how JS works.
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.
Let and const are useful, but when people say var should never be used, I immediately start to question if they have done any interesting development in JS.
Additionally, for beginners, I would argue that using var forces people to deal with unexpected behaviors which is a useful method for actually learning how JS works.