JSFiddle - React, Tailwind, and code Playground

by dmitri_pavlutin

JavaScript

const numbers = [22, 3, 4, 10];

const allEven = numbers.every(function(number) {
  return number % 2 === 0;
});

console.log(allEven); // => false