Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/escape/name.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 esid: sec-regexp.escape
7 description: >
8 RegExp.escape.name property descriptor
9 info: |
10 17 ECMAScript Standard Built-in Objects
11 includes: [propertyHelper.js]
12 features: [RegExp.escape]
13 ---*/
14
15 verifyProperty(RegExp.escape, "name", {
16 value: 'escape',
17 writable: false,
18 enumerable: false,
19 configurable: true
20 });
21
22 reportCompare(0, 0);