5.9. Array members (Prototype)

extends JavaScript::Array
extends Prototype::Enumerable
Member Type
clear
Function() -> Array
compact
Function() -> Array
first
Function() -> any
flatten
Function() -> Array
indexOf
Function(valueToFind::any) -> number
inspect
Function() -> string
last
Function() -> any
reverse
Function(revSelf::boolean=true) -> Array
without
Function(exclude0::any[,exclude1::any[,...,exclude::any]]) -> Array

Get Prototype and Scriptaculous: Taking the Pain out of JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.