JSFiddle - React, Tailwind, and code Playground
JavaScript 1.7
const one = false;
const two = true;
const headers = [
one && 1,
two && 2
];
console.log("headers", headers.length);
const one = false;
const two = true;
const headers = [
one && 1,
two && 2
];
console.log("headers", headers.length);