Prototype JavaScript framework

Section Language

Description

Additions to JavaScript's "standard library" and extensions to built-in JavaScript objects.

Utilities

Namespaces

  • Class

  • Enumerable

    Enumerable provides a large set of useful methods for enumerations — objects that act as collections of values. It is a cornerstone of Prototype.

  • Try

Classes

  • Array

    Prototype extends all native JavaScript arrays with quite a few powerful methods.

  • Date

    Extensions to the built-in Date object.

  • Function

  • Hash

    A set of key/value pairs.

  • Number

    Extensions to the built-in Number object.

  • Object

    Extensions to the built-in Object object.

  • ObjectRange

    Ranges represent an interval of values. The value type just needs to be "compatible" — that is, to implement a succ method letting us step from one value to the next (its successor).

  • PeriodicalExecuter

    A class that oversees the calling of a particular function periodically.

  • RegExp

    Extensions to the built-in RegExp object.

  • String

    Extensions to the built-in String class.

  • Template

    A class for sophisticated string interpolation.