diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js index 7e5a605a2..14b24a188 100644 --- a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js +++ b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-g-set-lastindex-err.js @@ -43,9 +43,7 @@ var callCount = 0; // completion originates from the second property modification. Object.defineProperty(r, 'exec', { get: function() { - Object.defineProperty(r, 'lastIndex', { - writable: false - }); + Object.defineProperty(r, 'lastIndex', { writable: false }); } }); |