diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js index c891da096..22b98fa19 100644 --- a/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js +++ b/test/built-ins/RegExp/prototype/exec/S15.10.6.2_A8.js @@ -14,16 +14,16 @@ if (RegExp.prototype.exec.hasOwnProperty('length') !== true) { $ERROR('#0: RegExp.prototype.exec.hasOwnProperty(\'length\') === true'); } - //CHECK#1 +//CHECK#1 if (RegExp.prototype.exec.propertyIsEnumerable('length') !== false) { $ERROR('#1: RegExp.prototype.exec.propertyIsEnumerable(\'length\') === true'); } - //CHECK#2 -var count=0; +//CHECK#2 +var count = 0; -for (var p in RegExp.prototype.exec){ - if (p==="length") count++; +for (var p in RegExp.prototype.exec) { + if (p === "length") count++; } if (count !== 0) { |