Glen wrote:
PS. "from X import Y" syntax would have been useful in cases where IDEs provide auto-completion. I know it's too late for changes now.
It has other advantages: Python-like for those who care; Y can be a long braced list or pattern, which goes better at the end.
But too late, and import was reserved in ES1 and ur-JS, but not in IE JScript (which did not follow ES1's list of future reserved words, reserving only class enum extends super, IIRC). Still, some warding-off effect from the '90s when people couldn't use `import` as an identifier.
/be _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

