Files
learn_enough_javascript_cod…/Listing_2.11.js
T
2022-01-12 14:58:42 -08:00

7 lines
182 B
JavaScript

> if (x.length === 0 || y.length === 0) {
"At least one of the strings is empty!";
} else {
"Neither of the strings is empty.";
}
'At least one of the strings is empty!'