PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@babel/helpers/lib/helpers

Просмотр файла: unsupportedIterableToArray.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _unsupportedIterableToArray;
var _arrayLikeToArray = require("./arrayLikeToArray.js");
function _unsupportedIterableToArray(o, minLen) {
  if (!o) return;
  if (typeof o === "string") return (0, _arrayLikeToArray.default)(o, minLen);
  var name = Object.prototype.toString.call(o).slice(8, -1);
  if (name === "Object" && o.constructor) name = o.constructor.name;
  if (name === "Map" || name === "Set") return Array.from(o);
  if (name === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(name)) {
    return (0, _arrayLikeToArray.default)(o, minLen);
  }
}

//# sourceMappingURL=unsupportedIterableToArray.js.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!