8

My code won't sing back (-‸ლ)

Comments
  • 10
    line 80 trailing comma
  • 5
    @theuser Fuck me.

    I'm very lucky this isn't stackoverflow.
  • 3
    That indentation...
  • 1
    @uyouthe Looks like he's indenting logs with two spaces and the rest 4 (except the return statement). I actually like that system.
  • 0
    @theuser I never said it was bad
  • 1
    @GiddyNaya A linter would probably help you my good sir.

    Do you manually indent, or are you using something that lets you conditinally indent 2 or 4 spaces?
  • 1
    @theuser My indentations are 4 spaces but for the above block the console.log lines where copy-pasted from another block before i started editing its message, i guess the copied line was 2 indent spaces.
  • 1
    And my real problem lyes at line 89. (returning nothing when an object is expected)

    Thanks to @theuser
  • 3
    Looks horrible, thanks
  • 0
    if an if statement has only one statement, I like putting it in front, that looks sane and much more readable.
  • 1
    Mhhhh breakpoint please
Add Comment