blob: 218b1d54cae055450b0f0301e6b2681aeb69697b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
var desc = Object.getOwnPropertyDescriptor(Function.prototype, "length");
assertDeepEq(desc,
{value: 0, writable: false, enumerable: false, configurable: true});
assertEq(Function.prototype.prototype, undefined);
assertEq(Function.prototype.callee, undefined);
assertThrowsInstanceOf(() => Function.prototype.caller, TypeError);
assertThrowsInstanceOf(() => Function.prototype.arguments, TypeError);
if (typeof reportCompare === "function")
reportCompare(true, true);
|