Sign in
eclipse
/
dltk
/
org.eclipse.dltk.javascript
/
da53676b48b92c0b17ff4a1db6225f9cc3455983
/
.
/
tests
/
org.eclipse.dltk.javascript.formatter.tests
/
scripts.parser
/
arithmetic-operators.js
blob: 0c633b64bb5e15787555ee1e559e975da966b432 [
file
] [
log
] [
blame
]
function
test_arithmetic_operators
()
{
a
++;
++
b
;
a
=
12
/
2
;
b
=
3
*
4
;
c
=
5
%
3
;
b
--;
--
a
;
c
=
a
+
b
;
b
=
c
-
a
;
a
=
(-
b
)
+
(-
c
);
sum
=
((
a
+
b
)
*
(
c
+
d
))
/
round
(
1.1
);
}