B2G/gecko/js/src/jit-test/tests/collections/iterator-proto-1.js
// Those prototype objects in turn inherit directly from Iterator.prototype.
Those prototype objects in turn inherit directly from Iterator.prototype.
Those prototype objects in turn inherit directly from Iterator . prototype .
function test(obj0, obj1) {
    var iter0 = obj0.iterator(), iter1 = obj1.iterator();
    var proto = Object.getPrototypeOf(iter0);
    assertEq(Object.getPrototypeOf(iter1), proto);
    assertEq(Object.getPrototypeOf(proto), Iterator.prototype);
}
function test ( obj0 , obj1 ) { var iter0 = obj0 . iterator ( ) , iter1 = obj1 . iterator ( ) ; var proto = Object . getPrototypeOf ( iter0 ) ; assertEq ( Object . getPrototypeOf ( iter1 ) , proto ) ; assertEq ( Object . getPrototypeOf ( proto ) , Iterator . prototype ) ; }
Those prototype objects in turn inherit directly from Iterator.prototype.
Those prototype objects in turn inherit directly from Iterator . prototype .