What does this program print?

from Swift fundamentals
Swift 6.3.3 beginner 2 min

What does this program print?

swift
var current = [2, 4]
let snapshot = current
current.append(6)

print(current)
print(snapshot)
Open in playground
Report an error