iterableToArray.js 147 B

123
  1. export default function _iterableToArray(iter) {
  2. if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
  3. }