WEBVTT

1
00:00:00.010 --> 00:00:04.580
The only problem is, is that it's so
compact it can be hard to read.

2
00:00:04.580 --> 00:00:08.630
It's called ternary because it
involves three expressions.

3
00:00:08.630 --> 00:00:14.650
The first is a boolean that determines
which of the next two expressions run.

4
00:00:14.650 --> 00:00:20.300
The ternary operator uses two characters,
a question mark and a colon.

5
00:00:20.300 --> 00:00:25.030
These two characters are markers for
our condition and our two branches.

6
00:00:26.050 --> 00:00:29.530
Let's see how this works in
our two.js file from earlier.
