Files
Nicolò RibaudoandGitHub d266e9185a Move all runtime helpers to individual files (#16495)
* Move all runtime helpers to individual files

* Regenerate babel-runtime

* Update fixtures

* Make errors for bugs in helpers more helpful (and not "this.hub is undefined")

* Wrap Babel 7 helpers in !BABEL_8_BREAKING

* Skip failing decorators tests in Babel7/8

* Disable most CI

* Skip failing Babel 7 old class helpers test in Babel 8

* Use latest decorators version in metadata test

* Revert "Disable most CI"

This reverts commit b98b0dc6b7855b032fd55bbfb34a7c6798828c7a.
2024-05-16 15:32:28 +02:00

8 lines
473 B
JavaScript

var arrayWithHoles = require("./arrayWithHoles.js");
var iterableToArray = require("./iterableToArray.js");
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
var nonIterableRest = require("./nonIterableRest.js");
function _toArray(r) {
return arrayWithHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableRest();
}
module.exports = _toArray, module.exports.__esModule = true, module.exports["default"] = module.exports;