summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/15.10.6.js
blob: 80dbe9887a4a9aeb34006fd0b2ef15a46a22e7e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.10.6
description: RegExp.prototype is itself a not RegExp
---*/

  var s = Object.prototype.toString.call(RegExp.prototype);

assert.sameValue(s, '[object Object]', 's');

reportCompare(0, 0);