code: function isHostObject(value){
    //Many host objects are `Object` objects that can coerce to strings
    //despite having improperly defined `toString` methods.
    let result = false
    if (value != null && typeof value.toString !== 'function'){
      try {
        result = Boolean(String(value))
      } catch (e){}
    }
  
    return result
  }
docs: Checks if `value` is a host object in IE < 9.
  
  @private
  @param {*} value The value to check.
  @returns {boolean} Returns `true` if `value` is a host object, else `false`.