code: function ancestry(input) {
  	const proto = input && typeof input === 'object' ? Object.getPrototypeOf(input) : null;
  
  	return proto ? ancestry(proto).concat(proto) : [];
  }
docs: Obtain the prototype chain for the given input
  
  @param   {any}    input
  @return  {array}  ancestry