callIterator

fun callIterator(obj: Any?, cx: Context, scope: Scriptable): Any?(source)

Calls obj[Symbol.iterator]().