topic description
when looking at the lodash source code, there is such a judgment when you see the createSet function Set & & (1 / setToArray (new Set ([,-0]) [1]) = = INFINITY
I don"t quite understand the second half of (1 / setToArray (new Set ([,-0])) [1]) = INFINITY
meaning
related codes
const createSet = (Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY)
? (values) => new Set(values)
: () => {}