Javascript运算符

<html lang="en">
<head>
  <title>Document</title>
</head>
<body>
  <script type="text/Javascript">
  document.write(1-1);
  document.write("<br/>");
  document.write(1+1);
  document.write("<br/>");
  document.write(2*2);
  document.write("<br/>");
  document.write(12/2);
  document.write("<br/>");
  document.write(1+2*3);
  document.write("<br/>");
  document.write(98%10);
  </script>
</body>
</html>

posted @ 2014-09-11 14:14  塔斯曼  阅读(93)  评论(0编辑  收藏  举报