Looking for reliable answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Get quick and reliable solutions to your questions from a community of experienced experts on our platform. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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