JavaScript:SpiderMonkey:Coding Style: Difference between revisions

Jump to navigation Jump to search
m
Wrap a { opening a class to a new line, as is mentioned elsewhere in the style rules
m (Wrap a { opening a class to a new line, as is mentioned elsewhere in the style rules)
Line 48: Line 48:
  char *s;                  /* OK */
  char *s;                  /* OK */
* Even in the return type of a method:
* Even in the return type of a method:
  class JSString {
  class JSString
{
     ...
     ...
     JSString* dependentBase() const;  /* bad */
     JSString* dependentBase() const;  /* bad */
Confirmed users
446

edits

Navigation menu