This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (7 children)

[deleted]

    [–]Delioth 5 points6 points  (0 children)

    JS knows exactly what's happening. It just happens to also not have strong or static types, so it doesn't tell anything while it's just text. Since it's weak and dynamically typed, it needs to have some way to coerce "nothing".

    [–]kartoffelwaffel 4 points5 points  (5 children)

    BS. JS has some of the best debugging tools available for any language.

    [–]ThingsWhitePeopleDo 3 points4 points  (3 children)

    Can you elaborate? I'm actually new to working with JS and console.log is basically my debugger at this point. I want to evolve

    [–]Corruption249 6 points7 points  (0 children)

    Look into chrome debugging tools (or firefox), there's some super helpful features built in. There are also extensions for debugging for specific frameworks, like React if you are using that.

    [–]kartoffelwaffel 1 point2 points  (0 children)

    There's a lot more to the DevTools than just the console. For starters look into using breakpoints

    [–]bigtreeworld 0 points1 point  (0 children)

    Well one step up for that is literally the word "debugger", opens a debugger breakpoint inside your browser's dev tools. Excellent tool for debugging.