diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/tests/test262/built-ins/String/prototype/replaceAll/length.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/String/prototype/replaceAll/length.js b/js/src/tests/test262/built-ins/String/prototype/replaceAll/length.js new file mode 100644 index 0000000000..9bd309d638 --- /dev/null +++ b/js/src/tests/test262/built-ins/String/prototype/replaceAll/length.js @@ -0,0 +1,23 @@ +// Copyright (C) 2019 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-string.prototype.replaceall +description: > + String.prototype.replaceAll.length value and descriptor. +info: | + String.prototype.replaceAll ( searchValue, replaceValue ) + + 17 ECMAScript Standard Built-in Objects +includes: [propertyHelper.js] +features: [String.prototype.replaceAll] +---*/ + +verifyProperty(String.prototype.replaceAll, 'length', { + value: 2, + enumerable: false, + writable: false, + configurable: true, +}); + +reportCompare(0, 0); |