Why does the following code work? Trying to seek clarity around how Swift treats consts.
let list = [1, 2, 3, 4, 5]
list[1] = 0
EDIT: This is a dup of Is there a reason that Swift array assignment is inconsistent (neither a reference nor a deep copy)?
I need to get better at searching :)