+符號的問題
<!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=utf-8" />
<title>操作符優(yōu)先級</title>
<script type="text/javascript">
var numa,numb,jq1;
numa=5;
numb=2;
jq1=numa + 30 >10 && numb * 3<20;
jq2=((numa + 30) / (7-numb)) * 3
document.write("jq1的值是:"+jq1+"<br>");
document.write("jq2的值是:"+jq2);
</script>
</head>
<body>
</body>
</html>
這個+Jq1+和+jq2代表的是什么意思
2018-10-24
+號不一定代表運算符號,也可以是連接符號,用于字符串的連接
2018-08-09
+輸出變量名為jq1的變量+和+輸出變量名為jq2的變量