LearningWebAppDev icon indicating copy to clipboard operation
LearningWebAppDev copied to clipboard

Inconsistent Function Names in Ch 4 and Ch 5

Open semmypurewal opened this issue 10 years ago • 1 comments

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.

semmypurewal avatar Jan 26 '15 03:01 semmypurewal

Added official errata for this here:

http://learningwebappdev.com/errata/chapter5/2015/03/29/inconsistent-function-names.html

semmypurewal avatar Mar 29 '15 17:03 semmypurewal