IP屬地:安徽
var thing = "cars"
let closure = { [thing] in
print("I love \\(thing)")
}
thing = "airplanes"
closure()
// Error: print("I love \(thing)")
Swift的面試問題及答案-part1譯文:Swift Interview Questions and Answers Swift面試問題及答案 原文鏈接 : Swift Interview Questions ...