JSFiddle - React, Tailwind, and code Playground

by Krishna Ananthi

JavaScript

let a= false;

let per={...(a && { name:"aa"})};
console.log(per);