LearningWebAppDev icon indicating copy to clipboard operation
LearningWebAppDev copied to clipboard

Page 207, Chapter 6 Amazeriffic app.js

Open mgrn opened this issue 9 years ago • 1 comments

Page 207 (GitHub code line 84), why didn't we declare the variable newToDo ? I got a problem without declaration, as the console showing:

ReferenceError: assignment to undeclared variable newToDo

mgrn avatar Aug 25 '16 13:08 mgrn

that is the declaration, make sure you have a comma at the end of 82 and not a semicolon

samir-gandhi avatar Oct 06 '16 17:10 samir-gandhi