<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>运算符和操作数</p>
		<p id = 'cc'></p>
		<script>
		var  h = 3;
		document.getElementById("cc").innerHTML = Math.pow(h,2);
		</script>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>运算符优先级</p>
		<p id = "运算符优先级"></p>
		<script>
			var h = 300 + 900 * 2;
			document.getElementById("运算符优先级").innerHTML = h;
		</script>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>运算符优先级</p>
		<p id = "dd"></p>
		<script>
			var  y = (300 + 900) * 3;
			document.getElementById("dd").innerHTML = y;
		</script>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>运算符优先级</p>
		<p id = "u"></p>
		<script>
			var h = 300 + 900 - 30 / 2;
			document.getElementById("u").innerHTML = h;
		</script>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>JavaScript 数据类型</p>
		<p id = "i"></p>
		<script>
			var h = 900 + "百度一下";
			document.getElementById("i").innerHTML = h;
		</script>
	</body>
</html>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p>JavaScript 数据类型</p>
		<p id = "l"></p>
		<script>
			var o = 3000 + 3 + "百度一下李白";
			document.getElementById("l").innerHTML = o;
		</script>
	</body>
</html>
12-06 05:12