getObjectIndex

fun getObjectIndex(obj: Any?, dblIndex: Double, cx: Context): Any?
fun getObjectIndex(obj: Any?, dblIndex: Double, cx: Context, scope: Scriptable): Any?
fun getObjectIndex(obj: Scriptable, index: Int, cx: Context): Any?