From b3bd359a0ddcb43e89f309955e748f2a3c60f8d0 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 26 Jul 2016 22:52:43 -0700 Subject: [PATCH] Use `stubArray` for easier readability. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index e42407dca..38b4535f6 100644 --- a/lodash.js +++ b/lodash.js @@ -5624,7 +5624,7 @@ * @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));