Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/escape/prop-desc.js

raw
1 // |reftest| shell-option(--enable-regexp-escape) skip-if(!RegExp.escape||!xulRuntime.shell) -- RegExp.escape is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2024 Leo Balter. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 description: The property descriptor RegExp.escape
7 esid: sec-regexp.escape
8 info: |
9 17 ECMAScript Standard Built-in Objects
10 features: [RegExp.escape]
11 includes: [propertyHelper.js]
12 ---*/
13
14 verifyProperty(RegExp, "escape", {
15 writable: true,
16 enumerable: false,
17 configurable: true
18 });
19
20 reportCompare(0, 0);