Web hosting india - JavaScript Programmer’s Reference Netscape provides constructors for many

JavaScript Programmer’s Reference Netscape provides constructors for many objects, virtually all of them in fact, even when it is highly inappropriate to do so. MSIE is far more selective and there are some occasions when you might wish for a constructor that MSIE does not make available. See also: Error.prototype Property attributes: DontEnum. Cross-references: ECMA 262 edition 3 section 15.11.4.1 Error.description (Property) A property that corresponds to the description argument in the constructor function. Availability: JScript 5.0 Internet Explorer 5.0 Property/method value type: String primitive JavaScript syntax: IE myError.description A human readable textual description of the custom error is available in this property. You can assign a new value if you wish. Reading the property yields the value that was passed in the description argument to the constructor function unless it has been changed since then. Warnings: . The ECMA standard describes this property as Error.message. MSIE supports it as the description property. Error.message (Property) A property that corresponds to the message argument in the constructor function. Availability: ECMAScript edition 3 JavaScript 1.5 JScript 5.5 Internet Explorer 5.5 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myError.message

Leave a Reply