Also, I should mention a couple of things:
1. This design essentially paves the cowpath trod with underscore-prefixed
property names, adding the desired property of conflict elimination.
2. If "System" is a built-in *module instance*, and the @iterator symbol
is defined internally within that module as:
sym @iterator = "org.ecma-whatever.es.6.iterator"; // Or perhaps more
likely a uuid...
Then we have exactly the desired syntax that we're looking for:
import @iterator from System; // no funky "@belch" URLs!!
class C {
@iterator() { ... }
}
And it works cross-frame, cross-loader-context and all.
Kevin
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss