minor update to doitional expression example formatting

pull/199/head
Scott Anderson 2019-04-24 15:40:50 -06:00
parent 6b7a609f69
commit b227345448
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ In either case, only the branch taken is evaluated and only side effects associa
ConditionalExpression = "if" Expression "then" Expression "else" Expression .
```
Example:
##### Conditional expression example
```js
color = if code == 0 then "green" else if code == 1 then "yellow" else "red"
```