JSFiddle - React, Tailwind, and code Playground

by S.M. Murad Hasan Tanvir

JavaScript

var x = {'a': 't1', 'b': 't2', 'c': 't3'};
var copy = Object.assign({}, x);
delete (copy.c);
console.log(x);
console.log(copy);