Created
June 8, 2014 20:41
-
-
Save teancom/c4094604a7e7680db66b 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 greet(name: String = "David", day: String = "bleargh") -> String { | |
return "Hello \(name), today is \(day)." | |
} | |
greet("Bob", "Sunday") | |
func greet2(name: String, day: String) -> String { | |
return "Hello \(name), today is \(day)." | |
} | |
greet2("Bob", "Sunday") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment