示例#1
0
 internal AsyncFromSyncIterator(EcmaIteratorEnumerator iterator)
     : base(WellKnownObject.AsyncFromSyncIteratorPrototype)
 {
     this.target   = iterator.IteratedObject.ToObject();
     this.iterator = iterator;
 }
示例#2
0
 internal AsyncFromSyncIterator(EcmaValue value)
     : base(WellKnownObject.AsyncFromSyncIteratorPrototype)
 {
     this.target   = value.ToObject();
     this.iterator = new EcmaIteratorEnumerator(value);
 }