Posts tagged with "javascript"

  • const, let, and var. Why your linter is wrong.

    Tell me young padawan, have you ever needed to assign a variable inside an if block and realized “oh no! I can’t access this outside the block further down where I need it!”, then end up writing something like this? Of course, you tried to use const first like a good frontend dev, but realized,