@extra-array/intermix.min
Version:
Places values of an array between another.
1 lines • 1.03 kB
JavaScript
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).array_intermix=e()}}(function(){return function(){return function e(n,r,t){function o(i,u){if(!r[i]){if(!n[i]){var d="function"==typeof require&&require;if(!u&&d)return d(i,!0);if(f)return f(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[i]={exports:{}};n[i][0].call(l.exports,function(e){return o(n[i][1][e]||e)},l,l.exports,e,n,r,t)}return r[i].exports}for(var f="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}}()({1:[function(e,n,r){"use strict";function t(e,...n){for(var r of n)e.push(...r);return e}n.exports=function(e,n,r=1,o=1,f=r,i=o){for(var u=e.length,d=n.length,c=[],l=0,p=0;l<u;l+=f){if(l>0){for(var s=p,a=s+o;s<a;s++)c.push(n[s%d]);p+=i}t(c,e.slice(l,l+r))}return c}},{}]},{},[1])(1)});