![demo gif](http://i.imgur.com/qVu9s53.gif) This article is written to explain how the above gif works in the chrome (and other) browser consoles. A quick disclaimer: *this whole thing is a huge hack, it shouldn't be used for anything seriously, and there are probably much better ways of accomplishing the same*. # inspiration My inspiration for building this was Max Ogden's [Requirebin](http://requirebin.com/), which allows users to use a browser based editor to run custom javascript in the browser (including javascript that had `require()` statements that would normally need to be pre-processed using [browserify](http://browserify.org/)). ![requirebin](http://i.gif.fm/L1L26.png) Requirebin is a great site, but I found myself wondering if it was possible to do something like this with an interactive REPL. #