summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/RegExp/prototype/S15.10.5.1_A1.js
blob: 04d04f32100c88ed6971d4afe04aeedfdde88518 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: The RegExp has property prototype
es5id: 15.10.5.1_A1
description: Checking RegExp.prototype property
---*/
assert.sameValue(RegExp.hasOwnProperty('prototype'), true, 'RegExp.hasOwnProperty(\'prototype\') must return true');

reportCompare(0, 0);