3 ms·
Agreed. I wouldn't use it the way shown here. I would make sure to return a hard negative, zero, or one in any case. I was surprised when I read into how many
by 52-6F-62 8y ago
Agreed. I wouldn't use it the way shown here. I would make sure to return a hard negative, zero, or one in any case.
I was surprised when I read into how many different ways `Array.prototype.sort()` is implemented across environments.