25.
let some = false; for (let i = 0; i < array.length; i++) { if (array[i] !== null) { some = true; break; } }; console.log(some); // true
본문으로