diff options
Diffstat (limited to 'test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js')
-rw-r--r-- | test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js index c8f3e2c2c..ae4780bd1 100644 --- a/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js +++ b/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-y-set-lastindex-err.js @@ -29,9 +29,7 @@ features: [Symbol.match] var r = /a/y; -Object.defineProperty(r, 'lastIndex', { - writable: false -}); +Object.defineProperty(r, 'lastIndex', { writable: false }); assert.throws(TypeError, function() { r[Symbol.match]('a'); |