David Herman wrote:
>  Cool, definitely want the plain identifier form, it's part of the binding 
(and destructuring) pattern language.

Well, the thing is it isn't consistent with the destructuring meaning: dropping 
the curlies here means extracting a single export (aka property), which is not 
what it means in destructuring assignment/binding anywhere else.

You are so right. Therefore I think Yehuda et al. (as Andreas affirmed) are spot-on in advocating

import foo from "foo"; // import the singleton export = thing from "foo"
import {bar} from "foo"; // import the bar export from "foo"

and we don't have a RTL problem.

/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to