1 var arrayPush = require('./_arrayPush'),
2 getPrototype = require('./_getPrototype'),
3 getSymbols = require('./_getSymbols'),
4 stubArray = require('./stubArray');
6 /* Built-in method references for those with the same name as other `lodash` methods. */
7 var nativeGetSymbols = Object.getOwnPropertySymbols;
10 * Creates an array of the own and inherited enumerable symbol properties
14 * @param {Object} object The object to query.
15 * @returns {Array} Returns the array of symbols.
17 var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
20 arrayPush(result, getSymbols(object));
21 object = getPrototype(object);
26 module.exports = getSymbolsIn;