javascript

josh_tackett 2016-11-11T21:52:53.000006Z

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

josh_tackett 2016-11-11T21:53:02.000007Z

any idea what I’m doing wrong here?