|
|
|
|
|
by 52-6F-62
2832 days 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. |
|