section Language section

Description

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

Utilities

Namespaces

Classes

  • Array

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

  • Class

    Manages Prototype's class-based OOP system.

  • Date

    Extensions to the built-in Date object.

  • Function

    Extensions to the built-in Function object.

  • Hash

    A set of key/value pairs.

  • Number

    Extensions to the built-in Number object.

  • Object

    Extensions to the built-in Object object.

  • ObjectRange

    A succession of values.

  • PeriodicalExecuter

    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.

Mixins

  • Enumerable

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