repo.or.cz
/
wine-gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 449522 - Context menu for HTML5 <video> elements. r=gavin, ui-r=boriss
[wine-gecko.git]
/
js
/
src
/
call.js
blob
20913f81e4a8f086843831880bc8d5d519c534ad
1
function
g
(
x
) {
2
if
((
x
&
1
) ==
1
)
return
1
;
3
return
2
;
4
}
5
6
function
f
(
n
) {
7
var
q
=
0
;
8
for
(
var
i
=
0
;
i
<
n
;
i
++)
9
q
+=
g
(
i
);
10
return
q
;
11
}
12
13
print
(
f
(
1000
));