Created
October 20, 2016 21:36
-
-
Save allevato/4131a31d75e943a03bff4f624bba7e6f to your computer and use it in GitHub Desktop.
FLIP THAT TABLE
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
prefix operator ╯°□°╯┻━┻ | |
prefix func ╯°□°╯┻━┻ (s: String) -> String { | |
return String(s.characters.reversed()) | |
} | |
print(╯°□°╯┻━┻"hello world") // "dlrow olleh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment