Sign in
apache
/
cordova-blackberry
/
refs/tags/v2.1.0.3
/
.
/
blackberry10
/
node_modules
/
shelljs
/
node_modules
/
jshint
/
tests
/
stable
/
unit
/
fixtures
/
max-statements-per-function.js
blob: 788c26517bd8beec48860f8a430fec02f344c970 [
file
] [
log
] [
blame
]
function
functionWith8Statements
()
{
var
i
=
0
;
var
s
=
0
;
// function declarations count 1
function
innerFunction
()
{
// this does not count for the outer function
var
i2
=
1
;
i2
=
2
;
}
i
=
2
;
if
(
i
>
0
)
{
while
(
i
<
10
)
{
s
+=
i
;
}
}
return
i
;
}