protected override object InnerGetVariableValue(string variableName)
        {
            object result;

            try
            {
                result = _jsEngine.GetVariableValue(variableName);
            }
            catch (OriginalJsRuntimeException e)
            {
                throw ConvertMsieJsRuntimeExceptionToJsRuntimeException(e);
            }

            result = MapToHostType(result);

            return(result);
        }
        protected override object InnerGetVariableValue(string variableName)
        {
            object result;

            try
            {
                result = _jsEngine.GetVariableValue(variableName);
            }
            catch (OriginalException e)
            {
                throw WrapJsException(e);
            }

            result = MapToHostType(result);

            return(result);
        }