You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the final example in the Future modules subheading, the modules are imported with the following code:
// import the entire "foo" and "bar" modulesmodulefoofrom"foo";modulebarfrom"bar";
Shouldn't it be import rather than module? I tried googling the module keyword and didn't find it in the ES6 grammar definition. Or have I misunderstood something?
The text was updated successfully, but these errors were encountered:
This is more than 2 year old text... module was the keyword at the time, but it was subsequently consolidated with import. This issue will be addressed in the second edition updates. Thanks! :)
In the final example in the
Future modules
subheading, the modules are imported with the following code:Shouldn't it be
import
rather thanmodule
? I tried googling themodule
keyword and didn't find it in the ES6 grammar definition. Or have I misunderstood something?The text was updated successfully, but these errors were encountered: