首页 技术教程 实用代码 注册破解 正则表达式 网址导航 电子书籍

Prototype实战教程:Array -> 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]
类别:网页编程 - JavaScript    查看:94    更新:2014-05-22