JSFiddle - React, Tailwind, and code Playground

by komninoschat

JavaScript

let a = {x: 'not mutated'};

(function(a, b) {
	console.log(a.x, b.x);
  a.x = 'mutated';
  console.log(a.x, b.x)
})(a, a);