mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
7 lines
395 B
JavaScript
7 lines
395 B
JavaScript
import _Symbol from "core-js-pure/features/symbol/index.js";
|
|
import _getIteratorMethod from "core-js-pure/features/get-iterator-method.js";
|
|
import _Array$from from "core-js-pure/features/array/from.js";
|
|
function _iterableToArray(r) {
|
|
if ("undefined" != typeof _Symbol && null != _getIteratorMethod(r) || null != r["@@iterator"]) return _Array$from(r);
|
|
}
|
|
export { _iterableToArray as default }; |