Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 312 Bytes

ECMAScript allows you to use unicode variable names, just use the usual \uXXXX codes:

var \u1000 = {
  \u1001: 'foo',
  \u1011: 'bar'
};

console.log( \u1000.\u1001 ); // prints 'foo'
console.log( \u1000.\u1011 ); // prints 'bar'

WTF right?

By @manekinekko

Something went wrong with that request. Please try again.