bcherny / bcherny/programming-typescript-answers
exercise 5 in chapter 4
- Dominant language
- TypeScript
- Stars
- 555
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
I think that this assertion function is comparing the array 'a' with the each elements of array 'b'.
So, I tried that the arguments `[1], [1], [1]` give to function is. The result was false.
I think that the result is true in this case.
Please tell me why this assertion function 'is' is correct?
I read this book in Japanese. If the translation is not good, could you tell me the sentences of the exercise 5 in English?

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with exercise 5 in chapter 4 and the repository's answer for the assertion function `is`; compare the stated `[1], [1], [1]` case with the exercise wording. Done means resolving whether the answer or translation needs clarification, and documenting the explanation if maintainers decide a change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100