code: function(object) {
          if (object === null || object === void 0)
              return object;
  
          return Object.getPrototypeOf(Object(object)).constructor;
      }
docs: Returns the constructor of the given object, works for objects and primitive types
  @param {*} object The constructor to return for
  @returns {Function} The constructor of the object
  @global