This internal function stores a value in the property belonging to the reference item passed as its argument.
A run-time error is generated if the passed-in argument is not a reference item.
If the target object does exist, the usual Put() function logic is invoked to store the value in the object property.
If the target object does not exist, then the property is added to the global object and takes the value that is passed as a new value.
See also: | Global object, Put(), Reference |
Prev | Home | Next |
put() | Up | Q |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |