Skip to content
Snippets Groups Projects
Commit fd6f206d authored by Brian Terlson's avatar Brian Terlson
Browse files

Merge pull request #194 from arv/function-length-is-configurable

Function length property is configurable
parents 15cc6391 ad8af4be
No related branches found
No related tags found
No related merge requests found
......@@ -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.");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment