有人能帮我解释一下为什么会这样吗
let one = 1; function chg(arg) { return arg++ // --> shouldn't this be similar to arg + arg? but it's outputting 1 } console.log(one); console.log(chg(one));
javascript
javascript ×1