From 3663302c219b39ef591f69984abafe617a4e1241 Mon Sep 17 00:00:00 2001 From: Pieter van Ginkel Date: Sun, 24 May 2015 07:59:47 +0200 Subject: [PATCH] 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. --- test/built-ins/Array/prototype/concat/S15.4.4.4_A4.1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/Array/prototype/concat/S15.4.4.4_A4.1.js b/test/built-ins/Array/prototype/concat/S15.4.4.4_A4.1.js index 67a5370df9..d318ec6c57 100644 --- a/test/built-ins/Array/prototype/concat/S15.4.4.4_A4.1.js +++ b/test/built-ins/Array/prototype/concat/S15.4.4.4_A4.1.js @@ -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; }