Created
April 23, 2016 10:48
-
-
Save goodmorningcody/8ebbc7dc75a5a6c118a108fef970fe0d to your computer and use it in GitHub Desktop.
스위프트 : 외부 매개변수명 생략하기
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(value1:Int, _ value2:Int)->Int{ | |
return value1+value2 | |
} | |
add(10, 20) | |
add(20, 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment