Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/S15.10.5_A2_T1.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: |
6 The value of the internal [[Prototype]] property of the RegExp
7 constructor is the Function prototype object
8 es5id: 15.10.5_A2_T1
9 description: Checking Function.prototype.isPrototypeOf(RegExp)
10 ---*/
11 assert.sameValue(
12 Function.prototype.isPrototypeOf(RegExp),
13 true,
14 'Function.prototype.isPrototypeOf(RegExp) must return true'
15 );
16
17 reportCompare(0, 0);