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: * Unicode characters in variable Identifier are allowed michael@0: * michael@0: * @path ch12/12.2/S12.2_A4.js michael@0: * @description Create and use unicode characters in variable Identifier michael@0: */ michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#1 michael@0: try { michael@0: __var=__var; michael@0: } catch (e) { michael@0: $ERROR('#1: Unicode characters in variable Identifier allowed'); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: michael@0: var \u005f\u005f\u0076\u0061\u0072 = 1; michael@0: michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: //CHECK#2 michael@0: if (__var !== 1) { michael@0: $ERROR('#2: __var === 1. Actual: __var ==='+ __var ); michael@0: } michael@0: // michael@0: ////////////////////////////////////////////////////////////////////////////// michael@0: