michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * A "prototype" property is automatically created for every function michael@0: * michael@0: * @path ch13/13.2/S13.2_A1_T2.js michael@0: * @description Using "var __func = function(){}" as a FunctionDeclaration michael@0: */ michael@0: michael@0: var __func = function(){}; michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: if (__func.prototype === undefined) { michael@0: $ERROR('#1: __func.prototype !== undefined'); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: