React | Conditional Rendering | Question 9

Last Updated :
Discuss
Comments

What will be the output of the following?

<p>{count && "Items in cart"}</p>


Items in cart


0

Nothing

Error

Share your thoughts in the comments