4 ms·
> Wanted to show that you could do stupid, hard to analyze things in ES6 modules too. But maybe you can't !? You can't, at least not in this way. A module's im
by bakkoting 10y ago
> Wanted to show that you could do stupid, hard to analyze things in ES6 modules too. But maybe you can't !?
You can't, at least not in this way. A module's imported and exported names are statically determined. Of course, you can just export a single object, and then make that object arbitrarily complex depending on runtime behavior.
> Like being able to require modules locally
Not sure what this means.
- z3t4 10y agolocally: inside functions