JSFiddle - React, Tailwind, and code Playground

by Tushar Thakare

JavaScript

var n = 0;

function increment(){

  n++;
  return n;
  alert(n);
}