3 lines
No EOL
147 B
JavaScript
3 lines
No EOL
147 B
JavaScript
export default function _iterableToArray(iter) {
|
|
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
|
|
} |