mirror of https://github.com/tc39/test262.git
Function length property is configurable
In ES6 the function length property was changed to become configurable.
This commit is contained in:
parent
d24fd10549
commit
ad8af4be3a
|
@ -69,8 +69,8 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties, length) {
|
|||
if (desc.enumerable) {
|
||||
$ERROR("The length property of a built-in function must not be enumerable.");
|
||||
}
|
||||
if (desc.configurable) {
|
||||
$ERROR("The length property of a built-in function must not be configurable.");
|
||||
if (!desc.configurable) {
|
||||
$ERROR("The length property of a built-in function must be configurable.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue