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

3

u/js_developer Apr 02 '18 edited Apr 02 '18

5.4.6 Do not manipulate prototypes directly.

Exception: Framework code (such as Polymer, or Angular) may need to use prototypes

Do what I say, not what I do!