mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
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) {
|
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