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:
Pieter van Ginkel 2015-05-24 07:59:47 +02:00
parent 9861dc2dd1
commit 3663302c21
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if (Array.prototype.concat.propertyIsEnumerable('length') !== false) {
//CHECK#2
var result = true;
for (var p in Array.concat){
for (var p in Array.prototype.concat){
if (p === "length") {
result = false;
}