📜  =+ javascript代码示例

📅  最后修改于: 2022-03-11 15:04:04.078000             🧑  作者: Mango

代码示例2
let a = 2;
let b = 'hello';

console.log(a += 3); // addition
// expected output: 5

console.log(b += ' world'); // concatenation
// expected output: "hello world"