blob: 94d610748d40cf4b7b19d176f1b33ba5ffa576dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| error: TypeError
for (var i = 0; i <= 0x017f; i++) {
var U = new Unicode(i);
}
function Unicode(c) {
u = GetUnicodeValues(c);
this.upper = u[0];
}
function GetUnicodeValues(c) {
u = new Array();
if ((c >= 0x0100 && c < 0x0138) || (c > 0x0149 && c < 0x0178)) try {} finally {
return;
}
return u;
}
|