Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
当ES6落地时。 for ... of 是提议的功能 ES6。
for ... of
如果幸运的话,ES6 应该会在 2014 年登陆。
至于你今天应该使用什么,尝试
array.forEach(function (value) { ... });
Or
Object.keys(object).forEach(function (key) { value = object[key]; ... });
When ES6 lands. for ... of is a proposed feature of ES6.
ES6 should land in 2014 if you're lucky.
As for what you should use today, try
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
当ES6落地时。
for ... of
是提议的功能 ES6。如果幸运的话,ES6 应该会在 2014 年登陆。
至于你今天应该使用什么,尝试
Or
When ES6 lands.
for ... of
is a proposed feature of ES6.ES6 should land in 2014 if you're lucky.
As for what you should use today, try
Or