UNPKG
jsctags
Version:
latest (5.2.2)
5.2.2
5.2.1
5.2.0
5.1.1
5.1.0
5.0.1
5.0.0
4.0.1
4.0.0
3.3.0
3.2.1
3.2.0
3.1.0
3.0.1
3.0.0
2.1.0
2.0.1
2.0.0
1.0.0
0.1.0
jsctags generator
github.com/ramitos/jsctags
ramitos/jsctags
jsctags
/
test
/
cases
/
effects.js
16 lines
(12 loc)
•
248 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[
"foo"
,
"bar"
].
map
(
function
(
s
) {
return
s.
charCodeAt
(
0
); });
//: [number]
var
b = []; b.
push
(
true
); b;
//: [bool]
var
c = []; c.
push
(
"hi"
); c.
push
(
10
); c;
//: [string|number]
var
d;
function
setD
(
a
) { d = a; } setD.
call
(
null
,
55
); d;
//: number