tc39 / proposal-defer-import-eval

A proposal for introducing a way to defer evaluate of a module
https://tc39.es/proposal-defer-import-eval
MIT License
208 stars 12 forks source link

clarification example #10

Open bmeck opened 3 years ago

bmeck commented 3 years ago

I think it would be helpful to explain a top level example that immediately references the binding like:

import a from 'a' with {lazyInit: true};
a;
codehag commented 2 years ago

This would immediately execute "a", but i can add that.