At Westonci.ca, we make it easy to get the answers you need from a community of informed and experienced contributors. Explore a wealth of knowledge from professionals across different disciplines on our comprehensive platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

(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.