B2G/gecko/js/src/jit-test/tests/collections/iterator-1.js
// collection.iterator() returns an Iterator object.
collection.iterator() returns an Iterator object.
collection . iterator () returns an Iterator object .
function test(obj) {
    var iter = obj.iterator();
    assertEq(typeof iter, "object");
    assertEq(iter instanceof Iterator, true);
    assertEq(iter.toString(), "[object Iterator]");
}
function test ( obj ) { var iter = obj . iterator ( ) ; assertEq ( typeof iter , "object" ) ; assertEq ( iter instanceof Iterator , true ) ; assertEq ( iter . toString ( ) , "[object Iterator]" ) ; }
collection.iterator() returns an Iterator object.
collection . iterator () returns an Iterator object .