Exemplo n.º 1
0
        public SymbolInstance Construct(JsSymbol symbol)
        {
            var instance = new SymbolInstance(Engine)
            {
                _prototype = PrototypeObject,
                SymbolData = symbol
            };

            return(instance);
        }
Exemplo n.º 2
0
        public SymbolInstance Construct(JsSymbol symbol)
        {
            var instance = new SymbolInstance(Engine)
            {
                Prototype  = PrototypeObject,
                SymbolData = symbol,
                Extensible = true
            };

            return(instance);
        }