Javascript Remove Empty Object After Deleting Its Properties From

Javascript Remove Empty Object After Deleting Its Properties From