src/util.js
function clearObject(object) {
  var key;

  for (key in object) {
    if (object.hasOwnProperty(key)) {
      // Ensures only writable properties are deleted.
      try {
        delete object[key];
      } catch (e) { }
    }
  }
}
function clearObject(object) {
  var key;

  for (key in object) {
    if (object.hasOwnProperty(key)) {
      // Ensures only writable properties are deleted.
      try {
        delete object[key];
      } catch (e) { }
    }
  }
}
function clearObject ( object ) { var key ; for ( key in object ) { if ( object . hasOwnProperty ( key ) ) { // Ensures only writable properties are deleted. try { delete object [ key ] ; } catch ( e ) { } } } }
Clear out an object of all properties
@private
Clear out an object of all properties