Wszystko jest prawdziwe Freecodecamp
const truthCheck = (collection, pre) =>
collection.every(elem => elem.hasOwnProperty(pre) && elem[pre]);
kouqhar
const truthCheck = (collection, pre) =>
collection.every(elem => elem.hasOwnProperty(pre) && elem[pre]);