Created
May 17, 2018 09:10
-
-
Save tmaxxdd/7c0a7219c13fc8e3c3b7c55f4349f979 to your computer and use it in GitHub Desktop.
Sample about Array() constructor
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
// Tworzy Array<String> z wartosciami ["0", "1", "4", "9", "16"] | |
val asc = Array(5, { i -> (i * i).toString() }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment