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