Object.defineProperty(Object.prototype, "forIn", {
value: function(fn, self) {
self = self || this;
return Object.keys(this).forEach(function(key, index) {
var value;
value = this[key];
return fn.call(self, value, key, index);
}, this);
}
});