Make an Object loggable()
loggable() is a simple little function for safely making a JavaScript object (console) loggable. (Name was inspired by @furf‘s jquery.bindable.js.) [code language=”js”] /** * Loggable adds a log method to the passed object. * @param obj {Object} Object which will …