Skip to content

Commit

Permalink
fix example to fit the actual experimentalTernaries behaviour (#15747)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janther authored Dec 8, 2023
1 parent 1e30f66 commit 5f7aedc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/blog/2023-11-13-curious-ternaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ const animalName =
pet.isScary() ?
'wolf'
: 'dog'
: pet.canMeow() ?
'cat'
: pet.canMeow() ? 'cat'
: 'probably a bunny';
```

Expand Down

0 comments on commit 5f7aedc

Please sign in to comment.