JSFiddle - React, Tailwind, and code Playground

by Malin Jayakody

JavaScript

let x = "1";

function t(y) {
  y++;
  console.log(x);
  console.log(y);
}

t(x);