Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
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 * The Identifer within a FunctionDeclaration can be written in both letters and unicode
6 *
7 * @path ch14/14.0/S14_A5_T2.js
8 * @description Declaring a function with "function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"}"
9 */
11 //////////////////////////////////////////////////////////////////////////////
12 //CHECK#1
13 if (__func() !== "unicode") {
14 $ERROR('#1: __func() === "unicode". Actual: __func() ==='+ __func() );
15 }
16 //
17 //////////////////////////////////////////////////////////////////////////////
19 function __func(){return "ascii"};
20 function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"};//__func in unicode