News for hackers. Stuff that matters.
Re:Most iPhone owners see little to no value in Apple Intell... by recursive on Tuesday December 17, 2024 @11:18PM (#42448073)
I do not think it's intuitive. The reason it works for mixed arrays is that the minus operator coerce operands to numbers. However if the strings fail to convert to a numeric value, the output is arguably even less sensible. I'd imagine that's why it is.

It may have been thought that js would be more likely to be dealing with strings arrays.

There are no comments on this comment yet.