blob: 68dd6e1d0743703e252efb7d00d6c1744da94907 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/publicdomain/zero/1.0/
const ThrowTypeError = function(){
"use strict";
return Object.getOwnPropertyDescriptor(arguments, "callee").get;
}();
assertDeepEq(Object.getOwnPropertyDescriptor(ThrowTypeError, "length"), {
value: 0, writable: false, enumerable: false, configurable: false
});
assertEq(Object.isFrozen(ThrowTypeError), true);
if (typeof reportCompare == "function")
reportCompare(true, true);
|