summaryrefslogtreecommitdiff
path: root/test/built-ins/RegExp/prototype/ignoreCase/15.10.7.3-2.js
blob: 8fbc655423aca518238b3cafb2fd51e3f440c5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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');