/// <summary>
        /// Makes a mapping of value from the host type to a script type
        /// </summary>
        /// <param name="value">The source value</param>
        /// <returns>The mapped value</returns>
        private OriginalValue MapToScriptType(object value)
        {
            if (value is Undefined)
            {
                return(OriginalValue.Undefined);
            }

            return(OriginalValue.FromObject(_jsEngine, value));
        }
 /// <summary>
 /// Makes a mapping of value from the host type to a script type
 /// </summary>
 /// <param name="value">The source value</param>
 /// <returns>The mapped value</returns>
 private OriginalValue MapToScriptType(object value)
 {
     return(OriginalValue.FromObject(_jsEngine, value));
 }