The description of Object.protectProperty:

Object.protectProperty(object : Object, key : String) -> Name
Object.protectProperty(object : Object, key : String, protector : Name) ->
true
Object.protectProperty(object : Object, currentProtector : Name) -> true
Object.protectProperty(object : Object, currentProtector : Name,
newProtector : Name) -> true

["object", "key"] returns new Name to be used as protector
["object", "key", "protector"] sets protector to existing Name
["object", "currentProtector"] sets protected to false
["object", "currentProtector", "newProtector"] change protector to
newProtector
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to