I'm studying arrays in Swift and in my book first they write:
let numbers = [0, 1, 2, 3]
but then write:
var numbers = [0, 1, 2, 3]
I know that let
denotes constants and var
refers to variables, but practically what changes from an array declared as constant and an array declared as variable?