Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #899 from erikvold/master
Browse files Browse the repository at this point in the history
Bug 854768: fix fromIterator for Set (typo correction). r=Mossop
  • Loading branch information
Mossop committed Mar 26, 2013
2 parents 3d08fbc + fa8ff60 commit 099ff00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sdk/util/array.js
Expand Up @@ -90,7 +90,7 @@ exports.flatten = function flatten(array){

function fromIterator(iterator) {
let array = [];
if (iterator.__iterator_) {
if (iterator.__iterator__) {
for each (let item in iterator)
array.push(item);
}
Expand Down

0 comments on commit 099ff00

Please sign in to comment.