Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /**
5 * When Function object(F) is constructed
6 * the [[Prototype]] property of F is set to the original Function prototype object as specified in 15.3.3.1
7 *
8 * @path ch13/13.2/S13.2_A5.js
9 * @description Function.prototype.isPrototypeOf() is used
10 */
12 function __func(){};
14 //////////////////////////////////////////////////////////////////////////////
15 //CHECK#1
16 if (!(Function.prototype.isPrototypeOf(__func))) {
17 $ERROR('#1: Function.prototype.isPrototypeOf(__func)');
18 }
19 //
20 //////////////////////////////////////////////////////////////////////////////
23 var __gunc = function(){};
25 //////////////////////////////////////////////////////////////////////////////
26 //CHECK#2
27 if (!(Function.prototype.isPrototypeOf(__gunc))) {
28 $ERROR('#1: Function.prototype.isPrototypeOf(__gunc)');
29 }
30 //
31 //////////////////////////////////////////////////////////////////////////////