without

without(value...) -> newArray

返回不包括参数中任意一个指定值的数组版本。(即返回的数组中不包括任何一个参数中指定的值)

样例

[3, 5, 6, 1, 20].without(3)
// -> [5, 6, 1, 20] 
[3, 5, 6, 1, 20].without(20, 6) 
// -> [3, 5, 1]