JSFiddle - React, Tailwind, and code Playground

JavaScript

var o = {x:1 , y:2 };
delete o.x ;
console.log(o);