Angular - State Management
Consider these selectors:
What is the output of
const selectCart = (state) => state.cart;
const selectCartCount = createSelector(selectCart, cart => cart.items.length);
What is the output of
selectCartCount if state.cart.items is ['apple', 'banana']?