Web streams was an ambitious project that brought streaming to the web platform when nothing else existed. The people who designed it made reasonable choices given the constraints of 2014 — before async iteration, before years of production experience revealed the edge cases.
Personally, I'm sure the real Mimikyu is beautiful, too, but I can't say I dislike the way it presents itself.
。关于这个话题,heLLoword翻译官方下载提供了深入分析
Manisha Krishnan,详情可参考51吃瓜
if (right - left <= 1) return; // 只有一个元素,无需排序