Merge pull request #144 from saivishnu725/patch-2

Replaced ` with ; in line 128.
This commit is contained in:
Jen Looper
2020-12-31 10:52:09 -05:00
committed by GitHub

View File

@@ -124,7 +124,7 @@ if (!condition) {
`if...else` isn't the only way to express decision logic. You can also use something called a ternary operator. The syntax for it looks like this:
```javascript
let variable = condition ? <return this if true> : <return this if false>`
let variable = condition ? <return this if true> : <return this if false>
```
Below is a more tangible example: