docs: public static void putConstProperty(Scriptable obj, String name, Object value)
      {
          Scriptable base = getBase(obj, name);
          if (base == null)
              base = obj;
          if (base instanceof ConstProperties)
              ((ConstProperties)base).putConst(name, obj, value);
      }