Improve the logic for the itemCount exercise

This commit is contained in:
Michael Chu
2019-02-26 22:26:18 -07:00
committed by GitHub
parent c58c48c67f
commit 1eb4078d2c

View File

@@ -3,7 +3,7 @@
### TodoFooter
1. Use the provided `itemCount` value drive the number of items left.
2. Use a ternary operator to print `item` vs `items` based on if `itemCount > 1`
2. Use a ternary operator to print `item` vs `items` based on if `itemCount == 1`
### TodoListItem