Luke Scott wrote:
Currently you can do this anyway:const C = class {}; if (someCondition) { C = class OtherC {}; }
You can't: const is assign-once in ES6, and only from the initialiser in the declaration.
/be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss