var arrayLikeToArray = require('./arrayLikeToArray')
function _unsupportedIterableToArray (r, e) {
  if (r) {
    if (typeof r === 'string') return arrayLikeToArray(r, e)
    var t = Object.prototype.toString.call(r).slice(8, -1)
    return (t === 'Object' && r.constructor && (t = r.constructor.name), t === 'Map' || t === 'Set' ? Array.from(r) : t === 'Arguments' || (/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/).test(t) ? arrayLikeToArray(r, e) : void 0)
  }
}
module.exports = _unsupportedIterableToArray
