8 lines
238 B
JavaScript
8 lines
238 B
JavaScript
is_Blank = function(input) {
|
|
if (input.length === 0)
|
|
return true;
|
|
else
|
|
return false;
|
|
}
|
|
console.log(is_Blank(''));
|
|
console.log(is_Blank('abc'));
|