mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Bump to v4.14.1.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import arrayPush from './_arrayPush.js';
|
||||
import getPrototype from './_getPrototype.js';
|
||||
import getSymbols from './_getSymbols.js';
|
||||
import stubArray from './stubArray.js';
|
||||
|
||||
/* Built-in method references for those with the same name as other `lodash` methods. */
|
||||
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
||||
@@ -13,7 +14,7 @@ var nativeGetSymbols = Object.getOwnPropertySymbols;
|
||||
* @param {Object} object The object to query.
|
||||
* @returns {Array} Returns the array of symbols.
|
||||
*/
|
||||
var getSymbolsIn = !nativeGetSymbols ? getSymbols : function(object) {
|
||||
var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
|
||||
var result = [];
|
||||
while (object) {
|
||||
arrayPush(result, getSymbols(object));
|
||||
|
||||
Reference in New Issue
Block a user