JSFiddle - React, Tailwind, and code Playground

by Evgeniy Kvasyuk

JavaScript

const func = () => Math.random() > 0.5;

const a = func() && 50;

console.log(a);