mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
285 B
21 lines
285 B
/*
|
|
* Lexer UTF-8 support.
|
|
*/
|
|
|
|
/*===
|
|
äö
|
|
1 number
|
|
2 number
|
|
===*/
|
|
|
|
// These chars are in UTF-8 format in the source file
|
|
print('äö');
|
|
|
|
/* Note: smjs fails the tests below (Rhino does not) */
|
|
|
|
$äöå = 1;
|
|
print($äöå, typeof $äöå);
|
|
|
|
äöå = 2;
|
|
print(äöå, typeof äöå);
|
|
|
|
|