Created
September 1, 2021 17:02
-
-
Save peterkos/0776ecb5156251bb929faf4dc9261557 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
todo: write +^n in Swift | |
var i = 0 | |
i++ // 1 | |
i = 0 | |
i++++ // 4 | |
i = 0 | |
i++++++++++++ // 12 | |
var i = 0 | |
i-- // -1 | |
i = 0 | |
i---- // -4 | |
i = 0 | |
i------------ // -12 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment