• bcrussin_dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 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

    • zygo_histo_morpheus
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 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