Fork me on GitHub
#javascript
<
2016-11-11
>
josh_tackett21:11:53

function removeProperty(obj, prop) { if ( obj.hasOwnProperty(prop) ){ delete obj.prop; return true; } else { return false; }}

josh_tackett21:11:02

any idea what I’m doing wrong here?