Javascript Freecodecamp Algorithm #18: Everything Be True

preview_player
Показать описание
Learn how to solve freecodecamp javascript algorithms in various ways! This series is up-to-date with all ES6 and beyond javascript notations

#javascript #algorithms #freecodecamp
Рекомендации по теме
Комментарии
Автор

Great explanation . Thank you. I did the following code. Do you think it's ok? I am new at coding.

function truthCheck(collection, pre) {
let answer = true;
for(let i = 0; i < collection.length; i++){
if(!collection[i][pre] ){
return false;
}
}
return answer;
}

louizamariakonizari
join shbcf.ru