News for hackers. Stuff that matters.
Re:Show HN: Tiny and utterly useless ReactJS clone (exercise... by gatherhunterer on Tuesday November 12, 2019 @07:10PM (#21519677)
There’s a pattern in the code that I don’t understand. I looks like all top-level variables are assigned with “const” whereas variable assignments in blocks use “let” even if they are not reassigned. What is the reason for that?

There are no comments on this comment yet.