tc39 / proposal-module-expressions

https://tc39.es/proposal-module-expressions/
MIT License
438 stars 18 forks source link

Don't imply `this` return value for `addModule` method #73

Closed josephrocca closed 2 years ago

josephrocca commented 2 years ago

By putting the addModule call on its own line in this example the code example implies less about how it works, leaving open possibilities for stuff like this in the reader's imagination: https://github.com/whatwg/html/issues/6911#issuecomment-952768349

Please feel free to close this if it's too trite (since this proposal isn't about the inner workings of addModule). Just making this suggestion because I'm excited about the ideas discussed in the previously-linked issue. Thanks!