use delete instead of setting the value to undefined