JSFiddle - React, Tailwind, and code Playground

by oilvier

JavaScript

var otherThanNull = [1, 2, 3, 4].some(function (el) {
  return el == null;
});

console.log(otherThanNull);