Fork me on GitHub
#javascript
<
2016-11-13
>
ul11:11:07

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

ul11:11:16

try delete obj[prop]