docs: @JSFunction
      public static void write(Context cx, Scriptable thisObj,
                                          Object[] args, Function funObj)
          throws IOException
      {
          write0(thisObj, args, false);
      }