iterableToArray.js 274 B

12345
  1. function _iterableToArray(iter) {
  2. if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
  3. }
  4. module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;