JSFiddle - React, Tailwind, and code Playground

by realhunts

JavaScript

var rand = Math.floor((Math.random()*(3-1))+1);
console.log(rand)