摘要:
Generators in ECMAscript 6 are first-class coroutines that produce encapsulated suspended execution(暂停执行) contexts.Yield values and iterate over them ... 阅读全文
posted @ 2014-11-23 21:05
Zhentiw
阅读(377)
评论(0)
推荐(0)
摘要:
The spread operator (...) allows you to "explode" an array into its individual elements.Spreate an array:console.log([1,2,3]); // [1, 2, 3] conso... 阅读全文
posted @ 2014-11-23 01:41
Zhentiw
阅读(467)
评论(0)
推荐(0)
摘要:
Where destructuring in ES6 allows you to easily get properties out of an object, this shorthand property syntax allows you to easily push properties i... 阅读全文
posted @ 2014-11-23 01:30
Zhentiw
阅读(337)
评论(0)
推荐(0)

浙公网安备 33010602011771号