blob: 778e21c9f910cb9c4cc86f119fe08a9a794ca574 [file] [log] [blame]
function test() {
var descriptor = Object.getOwnPropertyDescriptor(function f(){},"name");
return descriptor.enumerable === false &&
descriptor.writable === false &&
descriptor.configurable === true;
}
if (!test())
throw new Error("Test failed");