#Create dynamic objects in a nodejs6 REPL with Proxy
Nodejs 6.x comes with ES6 Proxy support baked in. Just like Ruby's method-missing (aka ghost methods), you can intercept getters and setters on an object and, like ActiveRecord in Rails, write rich APIs that can take any method or property name you like.
They are particularly fun in a REPL, where you might want to handle
For example, say we started a nodejs REPL via: