As discussed in bug 907077 comment 78 and comment 80 the es6 for-of iterator implementation should use object literal syntax instead of Object.create(null). This is for two reasons: 1) The spec says that the result should have %ObjectPrototype% as is its prototype. 2) Its faster. Patch to come.
Attachment #818137 - Flags: review?(jorendorff) → review+
Whiteboard: [c= p= s= u=] → [c= p=1 s= u=]
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.