Skip to main content
dietrich

Javascript Style Guide For Mozilla Projects

There doesn't seem to be one (or I couldn't find it!). Here are a few guidelines I've picked up from recent patch review comments. Please comment if you have additions and corrections, and maybe we can coalesce this into a page on MDC, with examples and the reasoning behind the guidelines.

References: