reading through head first JavaScript book came across this but i have never seen four ==== or is just a bad print
Asked
Active
Viewed 357 times
0
-
4@StevenPenny I think that's part of the exercise, figuring out which isn't even valid. – Barmar Apr 16 '21 at 21:04
-
1@Barmar man, reminds me why I hated school. Just give me the damn information. Riddles are a terrible way to learn. – Zombo Apr 16 '21 at 21:05
-
@StevenPenny Maybe the author thinks there *should* be an `====` operator that corresponds to the last description (like Common Lisp's `eq` function). – Barmar Apr 16 '21 at 21:08
-
I think the most offensive thing is they're trying to teach something about equality, and keep mentioning this guy, – Andy Apr 16 '21 at 21:12
1 Answers
5
Read the first paragraph carefully:
we're not sure if each contender matches zero, one or more descriptions
It matches zero, but that isn't a printing error.

Quentin
- 914,110
- 126
- 1,211
- 1,335