I have the following object:
var myArr = {one:'1',two:'2',three:'3',four:'4',five:'5'};
I want to delete three properties from that object at once like:
delete myArr[one, three, five];
and it is failing. Do I have to perform an independent delete for each property like so:
delete myArr[one]; delete myArr[three]; delete myArr[five];
Thank you.
deletestatement can delete only one property at a time.