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: * The Identifer within a FunctionDeclaration can be written in both letters and unicode michael@0: * michael@0: * @path ch14/14.0/S14_A5_T2.js michael@0: * @description Declaring a function with "function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"}" michael@0: */ michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: if (__func() !== "unicode") { michael@0: $ERROR('#1: __func() === "unicode". Actual: __func() ==='+ __func() ); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: michael@0: function __func(){return "ascii"}; michael@0: function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode michael@0: