result property
Returns the result of a request.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
ptr = object.result |
Property values
Type: any
Varies according to the request.
Exceptions
This method can throw the following DOMException exceptions:
Note As of Internet Explorer 10, the code property is deprecated in favor of the name property, which is preferred for standards compliance and future compatibility.
| Exception properties | Condition |
|---|---|
|
Attempted to read the result property before the request completed. |
Standards information
Remarks
The value of that result property depends on the original request. For example, if the original request opened a database, the value of the result property would be an IDBDatabase object.
See also
Show:
