Completely agree here. It highly depends on the team and the style of writing code. But I also believe that using var (that this variable is used throughout the function) or let (that this variable is used only in the current block) carries a special meaning. And you are correct. Concepts of var are not easy to digest.
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.
Completely agree here. It highly depends on the team and the style of writing code. But I also believe that using
var
(that this variable is used throughout the function) orlet
(that this variable is used only in the current block) carries a special meaning. And you are correct. Concepts ofvar
are not easy to digest.