when to use String.prototype.localeCompare over Intl.Collator?

前端 未结 0 873
南方客
南方客 2021-01-07 08:42

The performance improvement when using Intl.Collator is huge. The functionality between the two is identical. This brings the question, why use String.pro

相关标签:
回答
  • 消灭零回复
提交回复
热议问题