减法运算符从第一个操作数中减去第二个操作数。
您可以尝试运行以下代码以与Subtraction Operator一起使用-
<html>
<body>
<script>
var a = 40;
var b = 25;
document.write("a - b = ");
result = a - b;
document.write(result);
</script>
</body>
</html>