javascript

ul 2016-11-13T11:52:07.000008Z

you are referencing prop property itself instead of that one which has name stored in prop parameter

ul 2016-11-13T11:52:16.000009Z

try delete obj[prop]