docs: function createInstanceOf(ctor, args) {
      var tempCtor = function() {
        // This will return the instance or the explicit return of the ctor
        // accordingly.
        // Remember that if you return a primitive type, the constructor will
        // still return the object instance.
        return ctor.apply(this, args);
      };
  
      tempCtor.prototype = ctor.prototype;
      return new tempCtor();
    }