Concat string using join without push

作者: nick 分类: js 发布时间: 2010-09-27 12:37 ė 61条评论

Test page: http://jsperf.com/join-concat/2

Summary:

  1. 随着 IE 7- 的份额下降,join 法将逐步退出舞台。
  2. Chrome 的 push 明显优化过。
  3. join-without-push 方法,除了在 Chrome 下无优势,在其他浏览器下都挺不错,推荐。

本文出自 传播、沟通、分享,转载时请注明出处及相应链接。

本文永久链接: https://www.nickdd.cn/?p=1076

发表评论

您的电子邮箱地址不会被公开。

Ɣ回顶部