Brian Di Palma wrote:
That would require a tedious preamble for pretty much any bit of code you
>  want to write.
>

You can add an exemption for any code/classes/functions in "@std" modules.

Beyond those cases I see no issue.

Object detection is a (if not *the*) successful anti-versioning pattern in JS on the web. It typically depends on global properties that may or may not be present, accessed in the detection condition via window.foo or typeof foo but then bound in the not-detected consequent, and used later, without any object-property base-expression (dot) qualification.

Object detection ought to be usable in a module, and IIRC this is another consideration informing the current design.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to