JSFiddle - React, Tailwind, and code Playground

by TheDiamondDoge

JavaScript

let thing = {0: 1};

if (thing == 0 || thing == 1 || thing == 2) {
    console.log(false);
  } else {
  console.log(true);
  }
  
  console.log(Number(thing) == 0)