summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/S15.10.6.1_A1_T1.js
blob: 00da30eab955e37f011b117d93fc268d00a3a104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: |
    The initial value of RegExp.prototype.constructor is the built-in RegExp
    constructor
es5id: 15.10.6.1_A1_T1
description: Compare RegExp.prototype.constructor with RegExp
---*/
assert.sameValue(
  RegExp.prototype.constructor,
  RegExp,
  'The value of RegExp.prototype.constructor is expected to equal the value of RegExp'
);

reportCompare(0, 0);