23.04.2013 Views

javascript

javascript

javascript

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 3 ■ OPERATORS<br />

80<br />

Figure 3–15. Inverting the boolean verdict of > or < with !<br />

Just as JavaScript provides !== as a shortcut to flipping the boolean verdict of === with !, it provides<br />

>= as a shortcut to flipping the boolean verdict of < with !, and with !. Just remember that neither >= nor = does a “not less than” operation while = and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!