4 Matching Annotations
  1. Oct 2020
  2. Sep 2020
    1. This is the stale closure problem. Because this function closes over the original value of count, which is zero, we only ever set the count to 1. It turns out that in order to use setInterval we have to jump through some hoops.

  3. Sep 2019