summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-2.js
blob: 125ec41eb41f3f7dffbc52a97264eb2b1f32c4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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
---*/

  var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'ignoreCase');
  

assert.sameValue(typeof d.get, 'function', 'typeof d.get');
assert.sameValue(d.set, undefined, 'd.set');
assert.sameValue(d.enumerable, false, 'd.enumerable');
assert.sameValue(d.configurable, true, 'd.configurable');

reportCompare(0, 0);