More on Terminology—What Are Expressions and Conditions?

It's hard to learn any kind of computer language without having to step outside it every so often and look in, and JavaScript is no different. Let us take you aside for a moment and look at some of the new terminology you need to be familiar with before you can continue on your JavaScript journey.

Expressions and Conditions

With variables and arrays, you are free to store pretty much all the data you want in a variety of types. However, eventually you will want to do more with that information than just perform a plain output of it onto the screen or into an alert box. You'll want to change it, manipulate it, or verify it. Expressions and conditions are used for just those purposes.

Expressions ...

Get JavaScript™ 1.5 by Example 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.