You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
331 B
JavaScript
13 lines
331 B
JavaScript
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
|
|
var _from = require("../core-js/array/from");
|
|
|
|
var _from2 = _interopRequireDefault(_from);
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
exports.default = function (arr) {
|
|
return Array.isArray(arr) ? arr : (0, _from2.default)(arr);
|
|
}; |