code: function (object) {
          Object.freeze(object);
  
          Object.keys(object).forEach(function (property) {
              var value = object[property],
                  type = typeof value;
  
              if (('object' === type || 'function' === type) && !Object.isFrozen(value)) {
                  deepFreeze(value);
              }
          });
      }
docs: Helpers