summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-2.js
blob: abf7079533e695da015ea0bb0a446d6d6db02f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.10.7.3-2
description: >
    RegExp.prototype.ignoreCase is an accessor property whose set
    accessor function is undefined
includes: [runTestCase.js]
---*/

function testcase() {
  var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'ignoreCase');
  
  if (typeof d.get === 'function' &&
      d.set === undefined &&
      d.enumerable === false &&
      d.configurable === true) {
    return true;
  }
 }
runTestCase(testcase);