internal WrappedJavaIterator(IEnumerator<object> iterator, Scriptable scope) { this.iterator = iterator; this.scope = scope; }