UNPKG
jsx
Version:
latest (0.9.89)
0.9.89
0.9.88
0.9.87
0.9.86
0.9.85
0.9.84
0.9.83
0.9.82
0.9.81
0.9.80
0.9.79
0.9.78
0.9.77
0.9.76
0.9.75
0.9.74
0.9.73
0.9.72
0.9.71
0.9.70
0.9.69
0.9.68
0.9.67
0.9.66
0.9.65
0.9.64
0.9.63
0.9.62
0.9.61
0.9.60
0.9.59
0.9.58
0.9.57
0.9.56
0.9.55
0.9.54
0.9.53
0.9.52
0.9.51
0.9.50
0.9.49
0.9.48
0.9.47
0.9.46
0.9.45
0.9.44
0.9.43
0.9.42
0.9.41
0.9.40
0.9.39
0.9.38
0.9.37
0.9.36
0.9.35
0.9.34
0.9.33
0.9.32
0.9.31
0.9.30
0.9.29
0.9.28
0.9.27
0.9.26
0.9.25
0.9.24
0.9.23
0.9.22
0.9.21
0.9.20
0.9.19
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
a faster, safer, easier JavaScript
jsx.github.io
jsx/JSX
jsx
/
t
/
run
/
181.issue48.jsx
11 lines
(10 loc)
•
225 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
/*EXPECTED */
class
_Main
{
static
var
x :
Nullable
.<
Array
.<
number
>> =
null
;
static
var
y :
Nullable
.<
number
[]> =
null
;
static
function
main
(
args :
string
[]
) :
void
{ _Main.
x
= [
1
,
2
,
3
]; _Main.
y
= [
1
,
2
,
3
]; } }