We used to be able to distinguish certain attributes as being `final` meaning they could only be set at construct time, and/or `read-only` meaning that you should not attempt to set them (although the compiler does not enforce that).

I notice, for instance that in reference/LzNode.html `name` gives no indication that it is final, and I realized that `isinited` should be read-only.

js2 will add `final` and `const`, but I think the only way to to make something read-only in js2 is to define a null setter? Is there a way we can annotate the doc to convey these things?

Reply via email to