O'Reilly logo

Prototype and Scriptaculous: Taking the Pain out of JavaScript by Chris Angus

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required