mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Merge pull request #194 from arv/function-length-is-configurable
Function length property is configurable
This commit is contained in:
commit
fd6f206d69
@ -69,8 +69,8 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties, length) {
|
|||||||
if (desc.enumerable) {
|
if (desc.enumerable) {
|
||||||
$ERROR("The length property of a built-in function must not be enumerable.");
|
$ERROR("The length property of a built-in function must not be enumerable.");
|
||||||
}
|
}
|
||||||
if (desc.configurable) {
|
if (!desc.configurable) {
|
||||||
$ERROR("The length property of a built-in function must not be configurable.");
|
$ERROR("The length property of a built-in function must be configurable.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user