blob: dd26ff958a6c2528d5a89afa9ef53148ddad5c7e (
plain)
1
2
3
4
5
6
7
8
9
|
load(libdir + "eqArrayHelper.js");
function g(a, b, c) {
this.value = [a, b, c];
assertEq(Object.getPrototypeOf(this), g.prototype);
assertEq(arguments.callee, g);
}
assertEqArray(new g(...[1, 2, 3]).value, [1, 2, 3]);
|