JavaScript 中的加法运算符 (+) 是什么?
加法运算符用于对两个操作数进行加法。
示例
你可以尝试运行以下代码来使用加法运算符 −
<html>
<body>
<script>
var a = 33;
var b = 10;
document.write("a + b = ");
result =a + b;
document.write(result);
</script>
</body>
</html>
广告
数据结构
网络
RDBMS
操作系统
Java
iOS
HTML
CSS
Android
Python
C 编程
C++
C#
MongoDB
MySQL
Javascript
PHP