import arrayPush from "./_arrayPush.mjs";
import getPrototype from "./_getPrototype.mjs";
import getSymbols from "./_getSymbols.mjs";
import stubArray from "./stubArray.mjs";
var nativeGetSymbols = Object.getOwnPropertySymbols;
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
  var result = [];
  while (object) {
    arrayPush(result, getSymbols(object));
    object = getPrototype(object);
  }
  return result;
};
export {
  getSymbolsIn as default
};
