forked from zhurui/management
3 lines
179 B
JavaScript
3 lines
179 B
JavaScript
|
export default function _iterableToArray(iter) {
|
||
|
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
|
||
|
}
|