this is mu problem which i need to use arrays inside the function
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
* /*
* Array properites
* ----------------
* Complete the function to test if an array is empty (has no values in it)
*
* @format
*/
function isEmpty(arr) {
return; // complete this statement
}
/*
DO NOT EDIT BELOW THIS LINE
--------------------------- */
var numbers = [1, 2, 3];
var names = [];
console.log(isEmpty(numbers));
console.log(isEmpty(names));
/*
EXPECTED RESULT
---------------
false
true
*/