src/util/clearOwnProperties.js
function clearOwnProperties(obj) {
  for (var prop in obj) {
    if (obj.hasOwnProperty(prop)) {
      obj[prop] = undefined;
    }
  }
}
function clearOwnProperties(obj) {
  for (var prop in obj) {
    if (obj.hasOwnProperty(prop)) {
      obj[prop] = undefined;
    }
  }
}
function clearOwnProperties ( obj ) { for ( var prop in obj ) { if ( obj . hasOwnProperty ( prop ) ) { obj [ prop ] = undefined ; } } }
Sets an object's own properties to undefined. This may be called by destructors to avoid retaining references and help detect incorrect use of destroyed instances.
Sets an object s own properties to undefined . This may be called by destructors to avoid retaining references and help detect incorrect use of destroyed instances .