JSFiddle - React, Tailwind, and code Playground
JavaScript
function bb() {
const parent = () => ({
testFn: parent
})
return parent
}
const a = { c: bb()() };
console.log(a)
setInterval(() => {
console.log(a);
}, 2000)
setTimeout(() => {
delete a.c;
}, 6000)