//赋值运算符
var num1 = 1000;
var num2 = num1;
console.log(num2);//1000
var x = 10;
var y = 10;
console.log(x += y);//20
//+= 等于 x加y
console.log(x -= y);//10
//-= 等于 x减y
//赋值运算符
var num1 = 1000;
var num2 = num1;
console.log(num2);//1000
var x = 10;
var y = 10;
console.log(x += y);//20
//+= 等于 x加y
console.log(x -= y);//10
//-= 等于 x减y
info 还没有任何评论,你来说两句呐!