• @[email protected]
    link
    fedilink
    English
    21 year ago

    I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man

    • @[email protected]
      link
      fedilink
      English
      11 year ago

      Exactly, your options are either mixing curly brackets or putting them all on the right and most people aren’t crazy enough to mix then