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