Open semmypurewal opened 9 years ago
From Mike Hennessey:
Typo in the print version: Ch. 5, p. 179 reads: "remember that I had you write a function called containsNTimes" The above sentence is a reference to Ch. 4, p. 146, which reads: "Write a function that accepts three arguments and returns true if the array contains the element n times, where n is the third argument:" "arrayContainsNTimes(["a","b","a","c","a"], "a", 3);" So the function name has to be changed in one place or the other, to be consistent.
Typo in the print version:
Ch. 5, p. 179 reads: "remember that I had you write a function called containsNTimes"
The above sentence is a reference to Ch. 4, p. 146, which reads:
"Write a function that accepts three arguments and returns true if the array contains the element n times, where n is the third argument:"
"arrayContainsNTimes(["a","b","a","c","a"], "a", 3);"
So the function name has to be changed in one place or the other, to be consistent.
Added official errata for this here:
http://learningwebappdev.com/errata/chapter5/2015/03/29/inconsistent-function-names.html
From Mike Hennessey: