without :: Array

without(value...) -> newArray

 

Produces a new version of the array that does not contain any of the specified values.

 

Example

 

[356120].without(3)

// -> [5, 6, 1, 20]

 

[356120].without(206)

// -> [3, 5, 1]


Prototype API 1.5.0 - prototypejs.org