<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Example 3-2</title>
<script type="text/javascript">
	var x = 15;//variable x is 15
	var y = 5;//variable y is 5
	x += 2;//add two to x variable, 17
	y -= 10;//minus 10 from variable, -5
	alert(x-y%2);//-5*-y=5%2=+1, 17+1 =18....so alert evaluation of parenthesis which is 18.
</script>
</head>
<body>
</body>
</html>

