source: imaps-frontend/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 497 bytes
Line 
1import arrayLikeToArray from "./arrayLikeToArray.js";
2function _unsupportedIterableToArray(r, a) {
3 if (r) {
4 if ("string" == typeof r) return arrayLikeToArray(r, a);
5 var t = {}.toString.call(r).slice(8, -1);
6 return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;
7 }
8}
9export { _unsupportedIterableToArray as default };
Note: See TracBrowser for help on using the repository browser.