Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Inconsistent Function Names in Ch 4 and Ch 5 #68

@semmypurewal

Description

@semmypurewal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions