diff options
Diffstat (limited to 'test/built-ins/Function/length/S15.3.5.1_A4_T3.js')
-rw-r--r-- | test/built-ins/Function/length/S15.3.5.1_A4_T3.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Function/length/S15.3.5.1_A4_T3.js b/test/built-ins/Function/length/S15.3.5.1_A4_T3.js index cdf721374..44e16e8f8 100644 --- a/test/built-ins/Function/length/S15.3.5.1_A4_T3.js +++ b/test/built-ins/Function/length/S15.3.5.1_A4_T3.js @@ -9,17 +9,17 @@ description: > Function("arg1,arg2,arg3","arg1,arg2","arg3", null) fails ---*/ -var f = new Function("arg1,arg2,arg3","arg1,arg2","arg3", null); +var f = new Function("arg1,arg2,arg3", "arg1,arg2", "arg3", null); //CHECK#1 if (!(f.hasOwnProperty('length'))) { $ERROR('#1: the function has length property.'); } -for(var key in f) - if(key=="length") - var lengthenumed=true; - +for (var key in f) + if (key == "length") + var lengthenumed = true; + //CHECK#2 if (lengthenumed) { $ERROR('#2: the length property has the attributes { DontEnum }'); |