JSFiddle - React, Tailwind, and code Playground
by ChrisStanyon
JavaScript
let myType = "test1";
(myType === "chris" || myType === "dave" || myType === "test") && console.log("We have a match");
by ChrisStanyon
let myType = "test1";
(myType === "chris" || myType === "dave" || myType === "test") && console.log("We have a match");