GoConqr has a new look! Let us know what you think.

Module 20 of 35 · Text

#20

welligton costa

/ *

Propriedades de matriz

----------------

Conclua a função para testar se uma matriz está vazia (não possui valores)

* /

 

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));

 

*

RESULTADO ESPERADO

---------------

falso

verdade

* /

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?