JavaScript Editor Ajax toolkit     Ajax website 



Main Page

Declares the accessors for a new property in a class or an interface. Often function get will appear in conjunction with a function set to allow read/write access to a property.

// Syntax for the get accessor for a property in a class.
 [modifiers] function get propertyname() [: type] {
   [body]
}

// Syntax for the get accessor for a property in an interface.
[modifiers] function get propertyname() [: type]

Expand imageArguments

Expand imageRemarks

Expand imageExample

Expand imageRequirements

Expand imageSee Also



JavaScript Editor Ajax toolkit     Ajax website


©