build/rnpm.js
function iterator2array(it) {
    // workaround around https://github.com/instea/react-native-popup-menu/issues/41#issuecomment-340290127
    var arr = [];

    for (var next = it.next(); !next.done; next = it.next()) {
      arr.push(next.value);
    }

    return arr;
  }
function iterator2array(it) {
    // workaround around https://github.com/instea/react-native-popup-menu/issues/41#issuecomment-340290127
    var arr = [];

    for (var next = it.next(); !next.done; next = it.next()) {
      arr.push(next.value);
    }

    return arr;
  }
function iterator2array ( it ) { // workaround around https://github.com/instea/react-native-popup-menu/issues/41#issuecomment-340290127 var arr = [ ] ; for ( var next = it . next ( ) ; ! next . done ; next = it . next ( ) ) { arr . push ( next . value ) ; } return arr ; }
Converts iterator to array
Converts iterator to array