summaryrefslogtreecommitdiff
path: root/school/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
blob: bd912855927dcf7490ae2432ed866a04d9b8ff73 (plain)
1
2
3
4
5
6
7
import arrayWithoutHoles from "./arrayWithoutHoles.js";
import iterableToArray from "./iterableToArray.js";
import unsupportedIterableToArray from "./unsupportedIterableToArray.js";
import nonIterableSpread from "./nonIterableSpread.js";
export default function _toConsumableArray(arr) {
  return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}