Created
April 18, 2022 09:11
-
-
Save gaeng2y/9972ed1e3cc42393ccd137cf53489b4d to your computer and use it in GitHub Desktop.
pure function
This file contains 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
func add(a: Int, b: Int) -> Int { | |
return a + b | |
} | |
let result = add(2, 3) // 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment