Most browsers have developer tools that are quite similar to this.
In Chrome, for example, hit Ctrl+Shift+I to bring up the developer tools panel. Click on the "Sources" tab and you can browse any JavaScript files that have been loaded. From here you can set breakpoints by clicking in the left margin. Now when you reload the page, JavaScript execution will pause at the line you indicated.
At the bottom of the panel there is a "Show console" button that will open up a REPL you can play around with.
Here is a screenshot illustrating everything I just mentioned:
There are similar tools in Firefox, IE, Safari, and Opera. Just Google for "developer tools [your browser of choice]" to learn more about them.