Skip to content

Instantly share code, notes, and snippets.

@ulibo-yuki
Last active July 14, 2023 23:36
Show Gist options
  • Save ulibo-yuki/7d611c317d0cb1e282137cba48297ff4 to your computer and use it in GitHub Desktop.
Save ulibo-yuki/7d611c317d0cb1e282137cba48297ff4 to your computer and use it in GitHub Desktop.
演算子 意味
+= a += 1 a = a+1
-= a -= 1 a = a-1
*= a *= 2 a = a*2
/= a /= 2 a = a/2
%= a %= 2 a = a%2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment