docs: public static Object setObjectProp(Object obj, String property,
                                         Object value, Context cx,
                                         Scriptable scope)
      {
          Scriptable sobj = toObjectOrNull(cx, obj, scope);
          if (sobj == null) {
              throw undefWriteError(obj, property, value);
          }
          return setObjectProp(sobj, property, value, cx);
      }