… developers also have to communicate their work to other developers. Whether it be naming variables or function names, writing inline comments, or documenting how the system should work from a high-level, developers need to know how to write good documentation so that code is understandable and maintainable. Whenever I write documentation, I try to make it a…
We now know that accessing
const variables before they’re declared will throw a
ReferenceError. This period between entering scope and being declared where they cannot be accessed is called the Temporal Dead Zone.