(please help)
What is the correct output for the following block of code?
let cars = 5;
if (cars > 0) {
text('We have cars in stock.');
} else {
text('Sorry, no cars in stock.');
}
1. We have cars in stock.
2. We have no cars in stock.
3. Sorry, no cars in stock.
4.We have 5 cars in stock.