Last active
February 13, 2020 15:32
-
-
Save emregoren/a053de5f325cc3cac73b3650c36ba7b5 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
fun main() { | |
getUserInfo("1", "2", "3", "4", key = 22) | |
} | |
fun getUserInfo(vararg userInfo: String, key: Int) { | |
userInfo[3] | |
userInfo.get(3) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment