Images

Applying Comparison and Logical Operators

image

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.

The arithmetic and string operators you have so far seen are fundamental to manipulating data inside computers. But without the ability to test things and make decisions, computers would be little more than advanced calculators. However, when you bring comparison and logical operators into the equation, you begin to expand the JavaScript language into a form with which complex tasks can be broken down, ...

Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.