>> Object.prototype.__setPropertyWithAttributes__(name, value, dontEnum: >> boolean, readOnly: boolean, dontDelete: boolean); > > Only if you cannot change an existing properties attribute, or delete an > existing property and create a new one with the same name. Those cases > would have to fail. A false return is not a fail-stop condition, so an > exception might be better.
Yes, I agree. > And yeah, the lack of named parameters hurts call-site readability. Yeah, I took ugly and maybe it even uglier, didn't I :). Obviously one could do better... Kris _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
