JSFiddle - React, Tailwind, and code Playground

by Viet27th

JavaScript

let i = 1;
let a = i ? i < 0 ? 9 : i : 0;
console.log(a)