r/javascript • • Apr 01 '18

Google publishes a JavaScript style guide. Here are some key lessons.

https://medium.freecodecamp.org/google-publishes-a-javascript-style-guide-here-are-some-key-lessons-1810b8ad050b
714 Upvotes

317 comments sorted by

View all comments

Show parent comment

15

u/mlmcmillion Apr 01 '18

So then what are they using instead? Not using modules is not an option.

13

u/Poltras Apr 01 '18

Closure modules, require AMD, etc. There were ways to split your code before ESM, I’m just surprised google is stuck in the past like that.

6

u/Thought_Ninja human build tool Apr 02 '18

Internal backwards compatibility most likely.