7 lines
155 B
JavaScript
7 lines
155 B
JavaScript
> if (!x && !y) {
|
|
"Both strings are empty!";
|
|
} else {
|
|
"At least one of the strings is nonempty.";
|
|
}
|
|
'At least one of the strings is nonempty.'
|