mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -11,7 +11,7 @@ const INFINITY = 1 / 0
|
||||
* @returns {Object} Returns the new set.
|
||||
*/
|
||||
const createSet = (Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY)
|
||||
? values => new Set(values)
|
||||
? (values) => new Set(values)
|
||||
: () => {}
|
||||
|
||||
export default createSet
|
||||
|
||||
Reference in New Issue
Block a user