Direction: Choose the correct option
Q1.
What does the && operator do in JSX?
Direction: Choose the correct option
Q2.
What will
{0 && Hi}
render?Direction: Choose the correct option
Q3.
Why might you see '0' rendered unexpectedly when using &&?
Direction: Choose the correct option
Q4.
What is the result of {true &&
Hello
}?Direction: Choose the correct option
Q5.
Which is a safe way to conditionally render a component using &&?
