mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Consistent parens usage for arrow functions with body.
This commit is contained in:
@@ -10,7 +10,7 @@ const nativeGetSymbols = Object.getOwnPropertySymbols
|
||||
* @param {Object} object The object to query.
|
||||
* @returns {Array} Returns the array of symbols.
|
||||
*/
|
||||
const getSymbolsIn = !nativeGetSymbols ? () => [] : object => {
|
||||
const getSymbolsIn = !nativeGetSymbols ? () => [] : (object) => {
|
||||
const result = []
|
||||
while (object) {
|
||||
result.push(...getSymbols(object))
|
||||
|
||||
Reference in New Issue
Block a user