Slide 30
Slide 30 text
コード例
(
修正後
)
f
u
n
c
t
i
o
n c
h
e
c
k
N
g
W
o
r
d
(
t
e
x
t
, c
a
l
l
b
a
c
k
) {
c
a
l
l
b
a
c
k
(
n
u
l
l
, { /
* d
e
t
a
i
l *
/ }
)
;
}
f
u
n
c
t
i
o
n s
a
m
p
l
e
_
w
a
t
e
r
f
a
l
l
(
p
a
r
a
m
, c
a
l
l
b
a
c
k
) {
v
a
r n
u
m
, t
e
x
t
;
a
s
y
n
c
.
w
a
t
e
r
f
a
l
l
(
[
f
u
n
c
t
i
o
n
(
n
e
x
t
) {
g
e
t
N
u
m
b
e
r
(
p
a
r
a
m
, n
e
x
t
)
;
}
,
f
u
n
c
t
i
o
n
(
_
n
u
m
, n
e
x
t
) {
n
u
m = _
n
u
m
;
g
e
n
e
r
a
t
e
T
e
x
t
(
n
u
m
, n
e
x
t
)
;
}
,
f
u
n
c
t
i
o
n
(
_
t
e
x
t
, n
e
x
t
) {
t
e
x
t = _
t
e
x
t
;
c
h
e
c
k
N
g
W
o
r
d
(
t
e
x
t
, n
e
x
t
)
;
}
,
f
u
n
c
t
i
o
n
(
u
n
u
s
e
d
, n
e
x
t
) {
n
e
x
t
(
n
u
l
l
, { n
u
m
: n
u
m
, t
e
x
t
: t
e
x
t }
)
;
}
]
, c
a
l
l
b
a
c
k
)
;
}
30 / 104