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

1

u/[deleted] May 29 '19

Exactly and as far as Google Chrome goes I hope you also know about this magic: if you hit a breakpoint in your code the REPL gets the context you're currently in, meaning you can play around with all variables the current scope has access to.

I find myself a lot coding helper functions within the REPL and then just copying it to my editor (that does some needed formatting in the end).

1

u/robolab-io May 29 '19

I use breakpoint debugging to fix a lot of issues at work, however the browser often crashes when I use this feature