Michael Haufe wrote: > David-Sarah Hopwood wrote: > >> "':' (not '=') is used to separate a property name from its value, so it >> can't also be used for type annotations." > > Except in the case of JavaScript's non-standard Sharp Variables > (https://developer.mozilla.org/En/Sharp_variables_in_JavaScript), which > is what sparked my question. Is there some ambiguity on why this syntax > reuse would be off the table?
I don't see how the sharp-variables extension is relevant. If anything it is another reason to avoid '=' in property assignments, so that there is no conflict between that extension and ES-Harmony types. -- David-Sarah Hopwood ⚥ _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

