Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,9 +1,9 @@
import arrayPush from './arrayPush.js';
import getSymbols from './getSymbols.js';
import stubArray from '../stubArray.js';
import arrayPush from './arrayPush.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. */
const nativeGetSymbols = Object.getOwnPropertySymbols;
const nativeGetSymbols = Object.getOwnPropertySymbols
/**
* Creates an array of the own and inherited enumerable symbols of `object`.
@@ -13,12 +13,12 @@ const nativeGetSymbols = Object.getOwnPropertySymbols;
* @returns {Array} Returns the array of symbols.
*/
const getSymbolsIn = !nativeGetSymbols ? stubArray : object => {
const result = [];
const result = []
while (object) {
arrayPush(result, getSymbols(object));
object = Object.getPrototypeOf(Object(object));
arrayPush(result, getSymbols(object))
object = Object.getPrototypeOf(Object(object))
}
return result;
};
return result
}
export default getSymbolsIn;
export default getSymbolsIn