On Wed, Jun 27, 2018 at 6:03 PM, Oriol _ <[email protected]> wrote: >> (`.localeCompare(stringOne, undefined, {sensitivity: "base"})` **is** > fairly verbose, so I'd probably have a utility function for it.) > > I would just create a collator outside the loop:
I meant verbose to write every time you need to do a case-insensitive comparison; instead, I'd drop a utility function in my standard lib somewhere. I like that approach to creating that utility function, though. :-) -- T.J. Crowder
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

