mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
use strict equality
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user