Skip to content

Commit 0411e0d

Browse files
committed
scope and closures: apA, fixing minor mistake in code comments, closes #1651
1 parent 5296715 commit 0411e0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scope-closures/apA.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,7 @@ btn.addEventListener("click",function(){
189189
});
190190
},100);
191191
});
192-
// Uncaught TypeError: Cannot read property
193-
// 'toUpperCase' of null
192+
// Uncaught TypeError: v.toUpperCase is not a function
194193
// at myProgram.js:4
195194
// at Array.map (<anonymous>)
196195
// at myProgram.js:3

0 commit comments

Comments
 (0)