Hi all, can someone explain me while in this playground code
import Foundation
let arr:Array<Int> = [1,3,5,7,9,11]
let exc:Array<Int> = [3,7,11]
let newarr = arr.drop { exc.contains($0) }
let newarr2 = arr.filter { !exc.contains($0) }
print(newarr)
print(newarr2)
the drop function return the whole array (don't drop anything) while the filter one give the right result? Thank you