docs: public static void seal(Context cx, Scriptable thisObj, Object[] args,
                              Function funObj)
      {
          for (int i = 0; i != args.length; ++i) {
              Object arg = args[i];
              if (!(arg instanceof ScriptableObject) || arg == Undefined.instance)
              {
                  if (!(arg instanceof Scriptable) || arg == Undefined.instance)
                  {
                      throw reportRuntimeError("msg.shell.seal.not.object");
                  } else {
                      throw reportRuntimeError("msg.shell.seal.not.scriptable");
                  }
              }
          }
  
          for (int i = 0; i != args.length; ++i) {
              Object arg = args[i];
              ((ScriptableObject)arg).sealObject();
          }
      }