Tag: Chapter 04

  • Errata: Listing 4-12

    In listings 4-12 and 4-13, the button’s onClick calls this.incrementCount and passed count+1 to it. There’s no need to pass a value here, since the incrementCount function increments the count variable. The corrected / improved code for listing 4-12 should be: