See the Pen obj TEST by keepgoing-Noah (@keepgoing-noah) on CodePen.
https://stackoverflow.com/questions/19316857/removing-all-properties-from-a-object
Object.keys(object).forEach(key => delete object[key]);
728x90
300x250
See the Pen obj TEST by keepgoing-Noah (@keepgoing-noah) on CodePen.
https://stackoverflow.com/questions/19316857/removing-all-properties-from-a-object
Object.keys(object).forEach(key => delete object[key]);