r/javascript • • May 28 '19

What are some JavaScript things beginners don't know?

333 Upvotes

383 comments sorted by

View all comments

25

u/[deleted] May 28 '19

How powerful a fucking REPL is and how much you can speed up your learning and coding if you're using one.

0

u/[deleted] May 28 '19

[deleted]

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).

→ More replies (1)