Conditionally add properties inside Object in Javascript
const cond = false;
const obj = {
...(cond ? {a: 1} : {}),
b: 2,
};
// {b: 2}
const cond = false;
const obj = {
...(cond ? {a: 1} : {}),
b: 2,
};
// {b: 2}
Annual Maintenance Charges Key Details Regarding AMC
Closing a National Savings Certificate (NSC) online is done through…
வெளிப்படையான