Replaced ` with ; in line 128.

Just a typo fix.
This commit is contained in:
Sai vishnu
2020-12-31 16:26:56 +05:30
committed by GitHub
parent 41c74e4875
commit 7115b3d615

View File

@@ -125,7 +125,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: `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 ```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: Below is a more tangible example: