3 lines
175 B
JavaScript
3 lines
175 B
JavaScript
export default function _iterableToArray(iter) {
|
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
} |