r/javascript • • May 28 '19

What are some JavaScript things beginners don't know?

333 Upvotes

383 comments sorted by

View all comments

Show parent comments

19

u/snifty May 28 '19

Re 1), personally I think Firefox devtools are better.

1

u/jseego May 29 '19

I think so too, except that they are a hog

2

u/snifty May 29 '19

A memory hog?

1

u/Mydrax May 28 '19

Well, personal opinions. I haven't used the Firefox dev tools, plus Chrome is just used more often and has sick performance and memory profilers!

5

u/DerGernTod May 28 '19

firefox devtools got really fast too and they also have a memory profiler. however, recently i had a lot of issues with the firefox devtools (code continuing to run while being paused at a breakpoint, leading to variable hovers showing different values every time you hover them, breakpoints vanishing) and it's missing some features the chrome devtools have (event breakpoints, dom manipulation breakpoints etc.)

2

u/snifty May 28 '19

Fair enough. Both of those features are things I'm not terribly skilled at evaluating — a personal shortcoming, certainly — but for what it's worth I just checked Firefox and it has panels for both.

I have to be honest I find the Chrome dev tools kind of bewildering to look at, at least at first glance. It does seem to be better about error reporting though — the one time I do use it is if I’m not getting clear messages in FF, sometimes Chrome will help.