Javascript – cannot figure out how to use an if statement to check all elements in an array with a callback and check if they are all true
I'm not sure how to check every element to the callback and check if they are all true; I am also quite new to trying to code so sorry if it looks bad. Write a function myEvery that accepts an…