You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
321 B

4 years ago
  1. var arrayWithoutHoles = require("./arrayWithoutHoles");
  2. var iterableToArray = require("./iterableToArray");
  3. var nonIterableSpread = require("./nonIterableSpread");
  4. function _toConsumableArray(arr) {
  5. return arrayWithoutHoles(arr) || iterableToArray(arr) || nonIterableSpread();
  6. }
  7. module.exports = _toConsumableArray;