What does “+=” (plus equals) mean?

前端 未结 4 1076
滥情空心
滥情空心 2020-12-09 01:43

I am doing some ruby exercises and it said I need to go back and rewrite the script with += shorthand notations.

This exercise deals primarily with lear

4条回答
  •  失恋的感觉
    2020-12-09 02:39

    Not an ruby expert but I would think that it either appends to an existing String or increments an numeric variable?

提交回复
热议问题