nashorn/test/script/basic/varargs.js.EXPECTED
author lagergren
Mon, 27 May 2013 17:57:07 +0200
changeset 17777 3f0a680149b9
parent 16147 e63b63819133
permissions -rw-r--r--
8015447: Octane harness fixes for rhino and entire test runs: ant octane, ant octane-v8, ant octane-rhino Reviewed-by: sundar, jlaskey

aaaa bbbb cccc
aaaa bbbb
aaaa bbbb cccc dddd
aaaa bbbb cccc
aaaa bbbb undefined
aaaa bbbb cccc
aaaa bbbb cccc
true
aaaa bbbb cccc
aaaa
bbbb
cccc
function varFunc(a, b, c) {
    print(a, b, c);
    print(Object.getPrototypeOf(arguments) === Object.prototype);
    print(arguments[0], arguments[1], arguments[2]);

    for (var i in arguments) {
        print(arguments[i]);
    }

    print(arguments.callee);
}
aaaa bbbb undefined
true
aaaa bbbb undefined
aaaa
bbbb
function varFunc(a, b, c) {
    print(a, b, c);
    print(Object.getPrototypeOf(arguments) === Object.prototype);
    print(arguments[0], arguments[1], arguments[2]);

    for (var i in arguments) {
        print(arguments[i]);
    }

    print(arguments.callee);
}
aaaa bbbb cccc
true
aaaa bbbb cccc
aaaa
bbbb
cccc
dddd
function varFunc(a, b, c) {
    print(a, b, c);
    print(Object.getPrototypeOf(arguments) === Object.prototype);
    print(arguments[0], arguments[1], arguments[2]);

    for (var i in arguments) {
        print(arguments[i]);
    }

    print(arguments.callee);
}