mirror of https://github.com/tc39/test262.git
S15.4.4.4_A4.1 length enumerable should be checked on Array.prototype.concat
The test checks Array.concat which is undefined; instead it should check Array.prototype.concat.
This commit is contained in:
parent
9861dc2dd1
commit
3663302c21
|
@ -14,7 +14,7 @@ if (Array.prototype.concat.propertyIsEnumerable('length') !== false) {
|
||||||
|
|
||||||
//CHECK#2
|
//CHECK#2
|
||||||
var result = true;
|
var result = true;
|
||||||
for (var p in Array.concat){
|
for (var p in Array.prototype.concat){
|
||||||
if (p === "length") {
|
if (p === "length") {
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue