harmony.js
// NOTE: Since true iterators can't be polyfilled, this is a helper.
Since true iterators can't be polyfilled, this is a helper.
Since true iterators can ' t be polyfilled this is a helper .
function forOf(o, func) {
    o = ToObject(o);
    var it = o[$$iterator]();
    while (true) {
      var next = IteratorStep(it);
      if (next === false)
        return;
      func(IteratorValue(next));
    }
  }
function forOf ( o , func ) { o = ToObject ( o ) ; var it = o [ $$iterator ] ( ) ; while ( true ) { var next = IteratorStep ( it ) ; if ( next === false ) return ; func ( IteratorValue ( next ) ) ; } }
NOTE: Since true iterators can't be polyfilled, this is a helper.
NOTE : Since true iterators can ' t be polyfilled this is a helper .