Like Javascript has ++
and +=
for a increments?
The underlying type of the expressions specifies the behavior of the + operator in the following way: - if both expressions are numeric, then addition. - if both expressions are strings, then Concatenate. - if one expression is numeric and the other is a string, then Add.
No. Unfortunately, you have to do:
value = value + 1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With