2020-03-07 11:45:40 +08:00
|
|
|
export default function _iterableToArray(iter) {
|
2020-03-31 20:57:48 +08:00
|
|
|
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
2020-03-07 11:45:40 +08:00
|
|
|
}
|