for(var rice = {cook: function() { console.log("cooking rice..."); }, illustrate: function() { console.log("for an illustration of the process, here are the steps you might forgo for a quicker meal, potentially foregoing traditional methods."); }, revealsecret: function() { console.log("the whispered secret of the best rice is to resuscitate old grains by soaking them overnight."); }, maliciousintent: function() { this.cook = function() { console.warn("however, do this incorrectly, and the consequences could be dire."); }; }}; rice.cook(); rice.illustrate(); rice.revealsecret(); rice.maliciousintent();