Created
May 15, 2022 09:21
-
-
Save Concers/19bbcc38ba5675bb31779b314ef45d65 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
var values: [Int] = [0, 1, 2, 3] | |
print(values) | |
print("Values count : \(values.count)") | |
// print(values[9]) index out of range | |
// [0, 1, 2, 3] | |
// Values count : 4 | |
//Empty Array | |
var emptyArray: [Int] = [] | |
print(emptyArray) | |
print(emptyArray.count) | |
// [] | |
// 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment