use strict equality

This commit is contained in:
Michael Chu
2019-02-26 22:32:12 -07:00
committed by GitHub
parent e353f860ad
commit ef1c1fbfe7

View File

@@ -3,7 +3,7 @@
### TodoFooter ### TodoFooter
1. Use the provided `itemCount` value drive the number of items left. 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 ### TodoListItem