internal ObjectInstance Construct(SetInstance set)
        {
            var instance = new IteratorInstance.SetIterator(Engine, set)
            {
                _prototype = SetIteratorPrototypeObject
            };

            return(instance);
        }
Пример #2
0
        internal ObjectInstance Construct(SetInstance set)
        {
            var instance = new IteratorInstance.SetIterator(Engine, set)
            {
                Prototype  = PrototypeObject,
                Extensible = true
            };

            return(instance);
        }