docs: public void addAsConstructor(Scriptable scope, Scriptable prototype)
      {
          initAsConstructor(scope, prototype);
          defineProperty(scope, prototype.getClassName(),
                         this, ScriptableObject.DONTENUM);
      }