Hi… Need help again
i have defined
obj: { [key: string]: string } = {};
then later on
obj[“A”] = 1;
obj[“B”] = 1;
obj[“C”] = 1;
now, how do i remove obj[“B”]? i try delete obj[“B”] but does not seems to work. Thank you
Hi… Need help again
i have defined
obj: { [key: string]: string } = {};
then later on
obj[“A”] = 1;
obj[“B”] = 1;
obj[“C”] = 1;
now, how do i remove obj[“B”]? i try delete obj[“B”] but does not seems to work. Thank you