Avatar
swiftbot BOT 6/8/2018 4:38 AM
Author icon
omochimetaru
let a: Range<Int> = 1..<10 print(a.map { $0 * 2 })
Version:
swift-4.2-DEVELOPMENT-SNAPSHOT-2018-05-29-a
Output:
[2, 4, 6, 8, 10, 12, 14, 16, 18]
Error: