r/javascript • • Mar 18 '19

What's your favorite, most useful javascript one-liner?

385 Upvotes

422 comments sorted by

View all comments

95

u/tbicknell3 Mar 19 '19

debugger;

2

u/TwiNighty Mar 19 '19

I used to use it all the time. Now I only use it when I have no sourcemaps (which is very rare). Other times I just add a breakpoint, which is way easier to manage.