diff --git a/lodash.js b/lodash.js index 5a750c2d5..4c9413215 100644 --- a/lodash.js +++ b/lodash.js @@ -6056,7 +6056,11 @@ * @param {Object} object The object to query. * @returns {Array} Returns the array of symbols. */ - var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray; + var getSymbols = !nativeGetSymbols ? stubArray : function(object) { + return arrayFilter(nativeGetSymbols(object), function(symbol) { + return propertyIsEnumerable.call(object, symbol); + }); + }; /** * Creates an array of the own and inherited enumerable symbols of `object`.