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