let type variable are supposed to be constants, but reassign a value later does not throw any error.
How do I create a non-mutable array.
let testArray = ["Catfish","water","tulips"]
print(testArray[1])
testArray[1] = "bottle of water"
print(testArray[1])
The output is "waterbottle of water"