7 lines
182 B
JavaScript
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!'
|