code: @Deprecated
      public static Object getObjectIndex(Object obj, double dblIndex,
                                          Context cx)
      {
          return getObjectIndex(obj, dblIndex, cx, getTopCallScope(cx));
      }
docs: A cheaper and less general version of the above for well-known argument
  types.
  
  @deprecated Use {@link #getObjectIndex(Object, double, Context, Scriptable)} instead