SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. func omitArgumentLabel(_ word: String) {
  2.     print(word)
  3. }
  4.  
  5. omitArgumentLabel("This function has no argument label.")
  6. //Output: This function has no argument label.
  7.  
  8. func defaultArgumentLabel(number: Int){
  9.     print(number)
  10. }
  11.  
  12. defaultArgumentLabel(number: 3)
  13. //Output: 3
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top