This came up through the work Mark’s doing to add interactive examples to the JS pages. It would be good to have a style guide for JS examples on MDN - not just in the interactive examples, but in all example code.
The question is: which one? I know the AirBnb one has a good reputation, but it’s ES6-y.
Whether we should start using ES6-y things in the JS examples is a bigger question, and perhaps one we should address first. I know we discussed this a while back: https://groups.google.com/forum/#!topic/mozilla.dev.mdc/ssw4AeqJKQY and decided not to, but this is probably a conversation we should have at regular intervals :). Or should we look into supporting both variants?