Use stubArray for easier readability.

This commit is contained in:
John-David Dalton
2016-07-26 22:52:43 -07:00
parent de07e3f874
commit b3bd359a0d

View File

@@ -5624,7 +5624,7 @@
* @param {Object} object The object to query. * @param {Object} object The object to query.
* @returns {Array} Returns the array of symbols. * @returns {Array} Returns the array of symbols.
*/ */
var getSymbolsIn = !nativeGetSymbols ? getSymbols : function(object) { var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
var result = []; var result = [];
while (object) { while (object) {
arrayPush(result, getSymbols(object)); arrayPush(result, getSymbols(object));