Head First JavaScript Programming Chapter 7

preview_player
Показать описание

Reading Head First JavaScript Programming? You'll want to get started with this introduction to Chapter 7.

Рекомендации по теме
Комментарии
Автор

It's unfortunate that you aren't providing answers to the"Brain Power" questions posed throughout the book. I realize these are opportunities for the reader to put new knowledge to use without any hand holding, but as a novice, I have no way to know if my intuition (or lack thereof, as seems to be the case more often than not) is correct.

Case in point, the "Chair Wars" section near the end of this chapter asks us to find bugs in Brad's use of isNaN, even though the code appears to work as written. I have no idea what these bugs are, and I've tried to figure it out on my own by coding the function and test it. Maybe I'm simply daft?

VeggieBoyKC
Автор

I was good with the book up until pg.304 in Ch.7, when it felt like you pulled a sneaky on me with the "return


I think my head exploded with that one.

OldMovieRob
Автор

On Page 35, Brain power, if brad has bugs with his code I think Larry has it too. because isNaN(" ") returns 0 which makes
"123- " acceptable, but this can cause error both of guys not only Brad!. It's really confusing, am I missing something?

kirklayer