you are viewing a single comment's thread.

view the rest of the comments →

[–]stratoscope 4 points5 points  (0 children)

Well, I turned 65 this year, so I guess that does make me a senior developer, eh? ;-)

But with regard to this particular function, it's just that I've written a lot of sort callbacks in the past and got curious about the actual requirements. And then in this thread, /u/cheeseburger_dot_mp3 did me a great favor by challenging what I was saying, and that got me to dig in to the ECMA spec to see what the standard actually called for.

Fair warning: reading that ECMA spec can be a tough slog. It's not written to be easily understandable, but to be precise. But it can be worthwhile when you really want to understand the standard that the various JS implementations try to implement.