The code reads the value of a write-only property. This is not allowed because code cannot read values from write-only identifiers.
A function set statement without a matching function get statement defines a write-only property.
To correct this error
-
Make sure the code does not read from a write-only property.
-
Add a matching function get statement to the property to make it readable.
See Also
Reference
function get Statementfunction set Statement
Concepts
Other Resources
JScript ReferenceClass-based Objects