Correct me if this stuff isn't actually going to end up as ES6, but my
reading of meeting notes from July? indicate this is in:

Instead of

  import {Name} from '@name';
  const keysName = new Name;  // These should be non global.
  const valsName = new Name;
  class MultiMap { ... }

You can do

  class MultiMap {
    private @keys, @vals;
    ....
  }

And change anything like "this[keysName]" to "this.@keys"

Also "iterator" will be a public symbol (or whatever "public" ends up being
named) that can be imported from '@iter'.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to