This internal function is used to store a new value into an internal property.
The property is set or not according to the result of the CanPut function for the property. If the property does not exist, then a new property is created with its attributes set to an empty condition.
The Put internal function may indeed allow a property value to be changed when received by a host object, even if that host object would respond to the HasProperty function with a false result indicating that the property does not exist.
| See also: | Internal Method, PutValue() |
| Prev | Home | Next |
| Punctuator | Up | put() |
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. | ||