Skip to content

Commit 5f7aedc

Browse files
authored
fix example to fit the actual experimentalTernaries behaviour (#15747)
1 parent 1e30f66 commit 5f7aedc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

website/blog/2023-11-13-curious-ternaries.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ const animalName =
8080
pet.isScary() ?
8181
'wolf'
8282
: 'dog'
83-
: pet.canMeow() ?
84-
'cat'
83+
: pet.canMeow() ? 'cat'
8584
: 'probably a bunny';
8685
```
8786

0 commit comments

Comments
 (0)