Array.prototype.sort( callbackfn [ , thisArg ] )

Michaël Rouges michael.rouges at
Tue Nov 12 03:34:02 UTC 2019

Hi all,

Is there a reason to not have a `thisArg ` for the `Array.prototype.sort()`

Actually, it enforces to bind the context or to have nested functions, each
one creating a new function where it isn't strictly necessary.

Michaël Rouges - - @Lcfvs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list