docs: function getAllPropertyDescriptors(object) {
    if (object === Object.prototype) {
      return {};
    } else {
      let prototype = getPrototypeOf(object);
      return assign(getAllPropertyDescriptors(prototype), getOwnPropertyDescriptors(object));
    }
  }