本文介绍了复合let / const赋值是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Bluebird图书馆的维基中有一篇文章。在本文中有一个短语:

There is an article Optimization killers in wiki of Bluebird library. In this article there is a phrase:

什么复合赋值和复合const赋值是什么意思?
在ECMAScript 5.1中有,与 + ... = var 相比!我想这将在未来的版本中修复,因为Firefox和IE11以及Edge都没有受到影响,并且因为Google显然知道这个问题。

jsPerf shows that let compound assignments are indeed extremely slow in Chrome 49.0.2623, compared to + ... = or var! I guess this will be fixed in a future version, since neither Firefox nor IE11 nor Edge is affected, and since Google apparently know about the issue.

这篇关于复合let / const赋值是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 13:58